<?php

declare(strict_types=1);

namespace App\Platform\Tmall\Constants;

use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;

#[Constants]
enum RefundStatus: string
{
    use EnumConstantsTrait;

    #[Message("等待卖家同意")]
    case WAIT_SELLER_AGREE = 'WAIT_SELLER_AGREE';

    #[Message("等待买家退货")]
    case WAIT_BUYER_RETURN_GOODS = 'WAIT_BUYER_RETURN_GOODS';

    #[Message("等待卖家确认收货")]
    case WAIT_SELLER_CONFIRM_GOODS = 'WAIT_SELLER_CONFIRM_GOODS';

    #[Message("卖家拒绝退款")]
    case SELLER_REFUSE_BUYER = 'SELLER_REFUSE_BUYER';

    #[Message("退款成功")]
    case SUCCESS = 'SUCCESS';

    #[Message("退款关闭")]
    case CLOSED = 'CLOSED';
}
