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

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

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 闭店退款简单信息VO
 * </p>
 *
 * @author wangff
 * @since 2025/10/13
 */
@Data
public class CloseStoreRefundSimpleVO {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("闭店申请id")
    private Long closeStoreId;

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

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

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

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

    @ApiModelProperty("退款金额")
    private BigDecimal actualAmount;

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