package com.cool.store.vo.close.refund;

import com.cool.store.enums.close.RefundPayStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 闭店退款列表VO
 * </p>
 *
 * @author wangff
 * @since 2025/12/2
 */
@Data
public class CloseStoreRefundListVO {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("退款申请单号")
    private String refundNo;

    @ApiModelProperty("退款状态")
    private String refundStatus;

    @ApiModelProperty("退款状态名称")
    private String refundStatusName;

    @ApiModelProperty("每刻退款单号")
    private String refundOrderNo;

    @ApiModelProperty("退款时间")
    private Date refundTime;

    @ApiModelProperty("退款加盟商名称")
    private String businessName;

    @ApiModelProperty("退款加盟商收款账户")
    private String businessAccount;

    public String getRefundStatusName() {
        return RefundPayStatusEnum.getDescByStatus(this.refundStatus);
    }
}
