<?php

namespace App\Enums;

enum ModerationStatus: string
{
    case Pending = 'pending';
    case Approved = 'approved';
    case Rejected = 'rejected';
    case Hidden = 'hidden';

    public function label(): string
    {
        return match ($this) {
            self::Pending => __('enums.moderation_status.pending'),
            self::Approved => __('enums.moderation_status.approved'),
            self::Rejected => __('enums.moderation_status.rejected'),
            self::Hidden => __('enums.moderation_status.hidden'),
        };
    }
}
