<?php

namespace App\Enums;

enum SpaceOperationalStatus: string
{
    case Active = 'active';
    case Inactive = 'inactive';
    case UnderMaintenance = 'under_maintenance';
    case TemporarilyClosed = 'temporarily_closed';
    case Archived = 'archived';

    public function label(): string
    {
        return match ($this) {
            self::Active => 'Active',
            self::Inactive => 'Inactive',
            self::UnderMaintenance => 'Under Maintenance',
            self::TemporarilyClosed => 'Temporarily Closed',
            self::Archived => 'Archived',
        };
    }
}
