feat: establish reservation portal foundation
This commit is contained in:
20
app/Domain/Reservations/Enums/ReservationItemStatus.php
Normal file
20
app/Domain/Reservations/Enums/ReservationItemStatus.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Reservations\Enums;
|
||||
|
||||
enum ReservationItemStatus: string
|
||||
{
|
||||
case Held = 'held';
|
||||
case Reserved = 'reserved';
|
||||
case Ready = 'ready';
|
||||
case Delivered = 'delivered';
|
||||
case Returned = 'returned';
|
||||
case Cancelled = 'cancelled';
|
||||
case Failed = 'failed';
|
||||
|
||||
/** @return list<string> */
|
||||
public static function blockingValues(): array
|
||||
{
|
||||
return [self::Held->value, self::Reserved->value, self::Ready->value, self::Delivered->value];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user