<?php

namespace Database\Factories\CRM;

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

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\CRM\City>
 */
class CityFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */

    protected $model = City::class;

    public function definition(): array
    {
        return [
            'zip' => $this->faker->randomNumber(),
            'name' => $this->faker->city(),
            'municipality' => $this->faker->name(),
            'pak' => $this->faker->randomNumber(),
            'country_id' => Country::factory(),
        ];
    }
}
