22 lines
466 B
PHP
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',
|
|
};
|
|
}
|
|
}
|