<?php

namespace App\Enums;

enum TenantAnnouncementDeliveryStatus: string
{
    case QUEUED = 'queued';
    case FAILED = 'failed';
    case SKIPPED = 'skipped';

    public function label(): string
    {
        return match ($this) {
            self::QUEUED => __('Warteschlange'),
            self::FAILED => __('Fehlgeschlagen'),
            self::SKIPPED => __('Übersprungen'),
        };
    }
}
