add shopee enum

This commit is contained in:
2025-12-09 15:46:01 +08:00
parent de80f6178c
commit 82c50bd5db
3 changed files with 114 additions and 0 deletions
@@ -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';
}