<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Facades\Schema;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>
 */
class RoadItemsProjectFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'item' => $this->faker->numberBetween(1, 10),
            'sub_items' => $this->faker->title(),
            'start_lat' =>$this->faker->latitude(),
            'start_lng' =>$this->faker->longitude(),
            'is_new' => $this->faker->boolean(),
            'status' => $this->faker->randomElement([0, 1, 2]),
            'activity_date_time' =>$this->faker->dateTimeBetween('-1 year', 'now'),
            'province_id' => $this->faker->numberBetween(1, 10),
            'city_id' => $this->faker->numberBetween(1, 10),
            'user_id' =>$this->faker->numberBetween(1, 10),
            'user_name' => $this->faker->name(),
            ];
    }
}
