<?php

namespace App\Enums;

use App\Enums\Concerns\HasValues;

enum PayrollAdjustmentType: string
{
    use HasValues;

    case BONUS = 'bonus';
    case DEDUCTION = 'deduction';

    public function label(): string
    {
        return match ($this) {
            self::BONUS => 'Bonus',
            self::DEDUCTION => 'Potongan',
        };
    }
}
