<?php

namespace App\Enums;

enum ModerationEscalationStatus: string
{
    case None = 'none';
    case ReviewRequired = 'review_required';
    case Escalated = 'escalated';
    case Urgent = 'urgent';

    public function label(): string
    {
        return match ($this) {
            self::None => 'None',
            self::ReviewRequired => 'Review Required',
            self::Escalated => 'Escalated',
            self::Urgent => 'Urgent',
        };
    }

    public function badgeClass(): string
    {
        return match ($this) {
            self::None => 'badge-light',
            self::ReviewRequired => 'badge-info',
            self::Escalated => 'badge-warning',
            self::Urgent => 'badge-danger',
        };
    }
}