<?php

namespace App\Domain\Facility\Enums;

enum FacilityStatus: string
{
    case Active = 'active';
    case Maintenance = 'maintenance';
    case Closed = 'closed';
    case Reserved = 'reserved';
    case Unavailable = 'unavailable';

    public function label(): string
    {
        return match ($this) {
            self::Active => 'نشط',
            self::Maintenance => 'صيانة',
            self::Closed => 'مغلق',
            self::Reserved => 'محجوز',
            self::Unavailable => 'غير متاح',
        };
    }
}
