package com.cool.store.vo.tp.mini;

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

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

/**
 * <p>
 * Mini加分申请单详情VO
 * </p>
 *
 * @author wangff
 * @since 2025/11/10
 */
@Data
public class MiniTpRewardApplyVO {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("申请单号")
    private String applyNo;

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

    @ApiModelProperty("项目大类")
    private String projectCategory;

    @ApiModelProperty("项目大类名称")
    @DictField
    private String projectCategoryName;

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

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("状态名称")
    private String statusName;

    @ApiModelProperty("分值")
    private BigDecimal score;

    @ApiModelProperty("证明图片列表")
    private String proofUrls;

    public String getStatusName() {
        return TpFormStatusEnum.getMsgByStatus(this.status);
    }
}
