<?php

namespace Database\Factories;

use App\Models\Agenda;
use App\Models\Profesional;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Agenda>
 */
class AgendaFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = Agenda::class;

    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'estado' => $this->faker->randomElement(['Activa', 'Inactiva']),
            'duracionturno' => $this->faker->randomElement([15, 30, 45, 60]),
            'profesional_id' => Profesional::factory(),
        ];
    }
}
