add shopee enum
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Platform\Shopee\Constants;
|
||||
|
||||
use Hyperf\Constants\Annotation\Constants;
|
||||
use Hyperf\Constants\Annotation\Message;
|
||||
use Hyperf\Constants\EnumConstantsTrait;
|
||||
|
||||
#[Constants]
|
||||
enum ItemStatus: string
|
||||
{
|
||||
use EnumConstantsTrait;
|
||||
|
||||
#[Message("Normal")]
|
||||
case NORMAL = 'NORMAL';
|
||||
|
||||
#[Message("Banned")]
|
||||
case BANNED = 'BANNED';
|
||||
|
||||
#[Message("Unlisted")]
|
||||
case UNLIST = 'UNLIST';
|
||||
|
||||
#[Message("Reviewing")]
|
||||
case REVIEWING = 'REVIEWING';
|
||||
|
||||
#[Message("Seller deleted")]
|
||||
case SELLER_DELETE = 'SELLER_DELETE';
|
||||
|
||||
#[Message("Shopee deleted")]
|
||||
case SHOPEE_DELETE = 'SHOPEE_DELETE';
|
||||
}
|
||||
Reference in New Issue
Block a user