<?php

namespace App\Domain\Notification\Enums;

enum NotificationStatus: string
{
    case Sent = 'sent';
    case Failed = 'failed';
    case Queued = 'queued';
    case Read = 'read';

    public function label(): string
    {
        return match ($this) {
            self::Sent => 'تم الإرسال',
            self::Failed => 'فشل',
            self::Queued => 'في الانتظار',
            self::Read => 'مقروء',
        };
    }
}
