<?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;
}
