<?php

namespace App\Enums;

enum ApprovalMode: string
{
    case Automatic = 'automatic';
    case AdminReview = 'admin_review';

    public function label(): string
    {
        return match ($this) {
            self::Automatic => __('enums.approval_mode.automatic'),
            self::AdminReview => __('enums.approval_mode.admin_review'),
        };
    }
}
