feat: add guest notification center
This commit is contained in:
19
app/Enums/GuestNotificationDeliveryStatus.php
Normal file
19
app/Enums/GuestNotificationDeliveryStatus.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum GuestNotificationDeliveryStatus: string
|
||||
{
|
||||
case NEW = 'new';
|
||||
case READ = 'read';
|
||||
case DISMISSED = 'dismissed';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::NEW => __('Neu'),
|
||||
self::READ => __('Gelesen'),
|
||||
self::DISMISSED => __('Ausgeblendet'),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user