<?php

namespace App\Domain\Scheduling\Enums;

enum AssignmentStatus: string
{
    case Active = 'active';
    case Suspended = 'suspended';
    case Completed = 'completed';
    case Cancelled = 'cancelled';

    public function label(): string
    {
        return match ($this) {
            self::Active => 'نشط',
            self::Suspended => 'معلق',
            self::Completed => 'مكتمل',
            self::Cancelled => 'ملغى',
        };
    }
}
