<?php

namespace App\Enums;

enum TenantAnnouncementAudience: string
{
    case ALL = 'all';
    case TENANTS = 'tenants';
    case SEGMENTS = 'segments';

    public function label(): string
    {
        return match ($this) {
            self::ALL => __('Alle Tenants'),
            self::TENANTS => __('Ausgewählte Tenants'),
            self::SEGMENTS => __('Segmente'),
        };
    }
}
