Files

34 lines
603 B
PHP
Raw Permalink Normal View History

2026-02-10 13:30:00 +08:00
<?php
declare(strict_types=1);
namespace App\Constants;
use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;
#[Constants]
enum RefundStatus: int
{
use EnumConstantsTrait;
#[Message("Refund applied")]
case APPLIED = 1;
#[Message("Seller accepted")]
case SELLER_ACCEPTED = 2;
#[Message("Seller dispute")]
case SELLER_DISPUTE = 3;
#[Message("Seller refused")]
case REFUSED = 4;
#[Message("Refund success")]
case SUCCESS = 5;
#[Message("Refund closed")]
case CLOSED = 6;
}