feat: add guest notification center
This commit is contained in:
17
app/Enums/GuestNotificationAudience.php
Normal file
17
app/Enums/GuestNotificationAudience.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum GuestNotificationAudience: string
|
||||
{
|
||||
case ALL = 'all';
|
||||
case GUEST = 'guest';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::ALL => __('Alle Gäste'),
|
||||
self::GUEST => __('Individuelle Gäste'),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user