refactor(enums): reorganize namespaces and update flight/tour/user imports
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\Tour;
|
||||
|
||||
enum TourScope:int
|
||||
{
|
||||
case DOMESTIC = 0;
|
||||
case INTERNATIONAL = 1;
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::DOMESTIC => 'داخلی',
|
||||
self::INTERNATIONAL => 'خارجی',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user