<?php

namespace Database\Factories;

use App\Enums\Day;
use Illuminate\Database\Eloquent\Factories\Factory;

class OpeningHourFactory extends Factory
{
    public function definition(): array
    {
        return [
            'day' => $this->faker->randomElement(Day::cases())->value,
            'open_time' => $this->faker->time('H:i'),
            'close_time' => $this->faker->time('H:i'),
        ];
    }
}
