Files
fewo-stommer/app/Enums/ChannelBookingModel.php
T
Lars 783068501c
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m33s
Generische iCal-Kanäle mit Bestandsklärung und sicheren Exporten bereitstellen
2026-10-27 17:14:45 +01:00

22 lines
466 B
PHP

<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum ChannelBookingModel: string implements HasLabel
{
case Inquiry = 'inquiry';
case PortalBooking = 'portal_booking';
case Mixed = 'mixed';
public function getLabel(): string
{
return match ($this) {
self::Inquiry => 'Vermittlung / Anfrage',
self::PortalBooking => 'Portalbuchung',
self::Mixed => 'Gemischt',
};
}
}