<?php

namespace Database\Factories;

use App\Enums\IsActive;
use App\Models\Location;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<Location>
 */
class LocationFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'name' => fake()->unique()->city(),
            'description' => fake()->sentence(),
            'is_active' => IsActive::ACTIVE,
        ];
    }
}
