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;

/**
 * <p>
 * Mini复议信息VO
 * </p>
 *
 * @author wangff
 * @since 2025/11/10
 */
@Data
public class MiniTpAppealVO {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("申请人姓名")
    private String applicantName;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("复议理由")
    private String appealReason;

    @ApiModelProperty("复议理由名称")
    @DictField
    private String appealReasonName;

    @ApiModelProperty("复议详细理由")
    private String appealDetailReason;

    @ApiModelProperty("证明材料")
    private String proofUrls;

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

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

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