<?php

namespace Database\Factories\CRM;

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

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\CRM\Country>
 */
class CountryFactory extends Factory
{
    protected $model = Country::class;

    public function definition(): array
    {
        return [
            'name'         => $this->faker->unique()->country,
            'name_en'      => $this->faker->unique()->country,
            'country_code' => $this->faker->unique()->bothify('??'),
            'short_iso'    => $this->faker->unique()->lexify('??'),
            'long_iso'     => $this->faker->unique()->lexify('???'),
        ];
    }
}
