<?php

namespace App\Enums;

enum StaffAvailabilityStatus: string
{
    case AVAILABLE = 'available';
    case BUSY = 'busy';
    case ON_BREAK = 'on_break';
    case OFF = 'off';

    public function label(): string
    {
        return match ($this) {
            self::AVAILABLE => 'Available',
            self::BUSY => 'Busy',
            self::ON_BREAK => 'On Break',
            self::OFF => 'Off',
        };
    }
}
