<?php

namespace App\Domain\Facility\Enums;

enum FacilityType: string
{
    case Field = 'field';
    case Court = 'court';
    case Pool = 'pool';
    case Gym = 'gym';
    case Track = 'track';
    case Hall = 'hall';
    case Room = 'room';
    case Outdoor = 'outdoor';
    case Other = 'other';

    public function label(): string
    {
        return match ($this) {
            self::Field => 'ملعب',
            self::Court => 'كورت',
            self::Pool => 'حمام سباحة',
            self::Gym => 'صالة رياضية',
            self::Track => 'مضمار',
            self::Hall => 'قاعة',
            self::Room => 'غرفة',
            self::Outdoor => 'مساحة خارجية',
            self::Other => 'أخرى',
        };
    }
}
