<?php

namespace App\Modules\HR\Employees\Enums;

enum EmploymentHistoryType: string
{
    case Promotion = 'promotion';
    case Transfer = 'transfer';
    case SalaryChange = 'salary_change';
    case Warning = 'warning';
    case Reward = 'reward';

    /** @return list<string> */
    public static function values(): array
    {
        return array_column(self::cases(), 'value');
    }
}
