<?php

namespace App\Domain\HR\Enums;

enum EmploymentType: string
{
    case FullTime = 'full_time';
    case PartTime = 'part_time';
    case Contract = 'contract';
    case Intern = 'intern';
    case Volunteer = 'volunteer';

    public function label(): string
    {
        return match ($this) {
            self::FullTime => 'دوام كامل',
            self::PartTime => 'دوام جزئي',
            self::Contract => 'عقد',
            self::Intern => 'متدرب',
            self::Volunteer => 'متطوع',
        };
    }
}
