<?php

namespace Database\Factories;

use App\Models\CashAccount;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<CashAccount>
 */
class CashAccountFactory extends Factory
{
    public function definition(): array
    {
        return [
            'created_by_id' => User::factory(),
            'name' => fake()->randomElement(['Kas Toko', 'Kas Operasional', 'Kas Utama']),
            'balance' => 0,
        ];
    }
}
