<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Account>
 */
class AccountFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'reference' => $this->faker->uuid(),
            'description' => $this->faker->sentence(4),
            'type_id' => \App\Models\AccountType::factory(),
            'active' => 1,
            'initial_amount' => 0,
            'balance_amount' => 0,
        ];
    }
}
