<?php

namespace App\Domain\HR\Enums;

enum TrainerStatus: string
{
    case Active = 'active';
    case Inactive = 'inactive';
    case OnLeave = 'on_leave';
    case Suspended = 'suspended';

    public function label(): string
    {
        return match ($this) {
            self::Active => 'نشط',
            self::Inactive => 'غير نشط',
            self::OnLeave => 'في إجازة',
            self::Suspended => 'موقوف',
        };
    }
}
