<?php

namespace App\Enums;

enum TenantAnnouncementStatus: string
{
    case DRAFT = 'draft';
    case SCHEDULED = 'scheduled';
    case ACTIVE = 'active';
    case ARCHIVED = 'archived';

    public function label(): string
    {
        return match ($this) {
            self::DRAFT => __('Entwurf'),
            self::SCHEDULED => __('Geplant'),
            self::ACTIVE => __('Aktiv'),
            self::ARCHIVED => __('Archiviert'),
        };
    }
}
