<?php

declare(strict_types=1);

namespace App\Enums;

use Filament\Support\Contracts\HasLabel;

enum BookingType: string implements HasLabel
{
    /** Ordinary hourly session in Studio A, B or C. */
    case Session = 'session';

    /** A whole day in Studio D. */
    case DayHire = 'day_hire';

    /** The five hour Birthday Experience, held in Studio D. */
    case Birthday = 'birthday';

    public function getLabel(): string
    {
        return match ($this) {
            self::Session => 'Studio session',
            self::DayHire => 'Day hire',
            self::Birthday => 'Birthday Experience',
        };
    }
}
