<?php

namespace Database\Factories;

use App\Models\Customer;
use App\Models\Nominee;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<Nominee>
 */
class NomineeFactory extends Factory
{
    /**
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'customer_id' => Customer::factory(),
            'full_name' => fake()->name(),
            'cnic' => fake()->numerify('#####-#######-#'),
            'phone' => fake()->numerify('03#########'),
            'email' => fake()->optional()->safeEmail(),
        ];
    }
}
