<?php

namespace Database\Factories\CRM;

use App\Models\CRM\Individual;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\CRM\SecurityAccount>
 */
class SecurityAccountFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'account_number'    => $this->faker->bothify('SEC######'),
            'documentable_id'   => Individual::factory(),
            'documentable_type' => Individual::class,
            'status'            => $this->faker->randomElement(['active', 'inactive']),
        ];
    }
}
