package com.cool.store.vo.tp;

import com.cool.store.annotation.DictField;
import com.cool.store.enums.tp.TpFormTypeEnum;
import com.cool.store.enums.tp.TpPayStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * <p>
 * 惩处申请单列表VO
 * </p>
 *
 * @author wangff
 * @since 2025/11/6
 */
@Data
public class TpPenaltyApplyListVO extends TpApplyListBaseVO {

    @ApiModelProperty("单据类型")
    private Integer type;

    @ApiModelProperty("单据类型名称")
    private String typeName;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("申请复议截止日期")
    private Date appealEndDate;

    @ApiModelProperty("缴费状态")
    private Integer payStatus;

    @ApiModelProperty("缴费状态名称")
    private String payStatusName;

    @ApiModelProperty("项目名称")
    @DictField
    private String projectNameName;

    public String getTypeName() {
        return TpFormTypeEnum.getMsgByType(this.type);
    }

    public String getPayStatusName() {
        return TpPayStatusEnum.getMsgByStatus(this.payStatus);
    }
}
