package com.cool.store.vo.fees;

import com.cool.store.enums.fees.AllocationPayStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * <p>
 * 钱包加盟缴费信息VO
 * </p>
 *
 * @author wangff
 * @since 2026/2/3
 */
@Data
public class WalletPayInfoVO {
    @ApiModelProperty("缴费信息id")
    private Long id;

    @ApiModelProperty("付款单号")
    private String payNo;

    @ApiModelProperty("付款人")
    private String payUserName;

    @ApiModelProperty("付款金额")
    private BigDecimal payAmount;

    @ApiModelProperty("交易流水号")
    private String tradeId;

    @ApiModelProperty("付款状态，1已支付、2支付失败 3支付中")
    private Integer payStatus;

    @ApiModelProperty("付款状态名称")
    private String payStatusName;

    @ApiModelProperty("支付时间")
    private Date payTime;

    @ApiModelProperty("认领状态0-待认领，1-已认领")
    private Integer claimStatus;

    @ApiModelProperty("费用类型列表")
    private String expenseTypes;
    
    @ApiModelProperty("费用类型名称")
    private String expenseTypeName;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建人id")
    private String createUserId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    public String getPayStatusName() {
        return AllocationPayStatusEnum.getDescByStatus(this.payStatus);
    }
}
