feat: add guest notification center
This commit is contained in:
19
app/Enums/GuestNotificationState.php
Normal file
19
app/Enums/GuestNotificationState.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum GuestNotificationState: string
|
||||
{
|
||||
case DRAFT = 'draft';
|
||||
case ACTIVE = 'active';
|
||||
case ARCHIVED = 'archived';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::DRAFT => __('Entwurf'),
|
||||
self::ACTIVE => __('Aktiv'),
|
||||
self::ARCHIVED => __('Archiviert'),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user