<?php

namespace App\Enums;

use App\Traits\ProvidesEnumOptions;

enum EmploymentStatus: string
{
    use ProvidesEnumOptions;

    case FULL_TIME = 'full_time';
    case PART_TIME = 'part_time';
    case CONTRACT = 'contract';
    case TEMPORARY = 'temporary';

    public function label(): string
    {
        return match ($this) {
            self::FULL_TIME => 'Penuh Waktu',
            self::PART_TIME => 'Paruh Waktu',
            self::CONTRACT => 'Kontrak',
            self::TEMPORARY => 'Sementara',
        };
    }
}
