<?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\Individual>
 */
class IndividualFactory extends Factory
{
    protected $model = Individual::class;

    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            // Define attributes as needed
            'first_name' => $this->faker->firstName,
            'last_name'  => $this->faker->lastName,
            'email'      => $this->faker->unique()->safeEmail,
            'mobile'     => $this->faker->e164PhoneNumber(),
            'phone'      => $this->faker->e164PhoneNumber(),
            'resident'   => $this->faker->boolean,
            'official'   => $this->faker->boolean,
        ];
    }
}
