<?php

namespace Database\Factories;

use App\Models\Operator;
use Illuminate\Database\Eloquent\Factories\Factory;

class OperatorFactory extends Factory
{
    protected $model = Operator::class;

    public function definition(): array
    {
        return [
            'name' => fake()->unique()->company(),
            'slug' => fake()->unique()->slug(2),
            'description' => fake()->paragraph(),
            'website' => fake()->url(),
            'headquarters' => fake()->city() . ', ' . fake()->country(),
            'total_parks' => fake()->numberBetween(1, 10),
            'total_rides' => fake()->numberBetween(20, 200),
        ];
    }
}