package com.cool.store.vo.tp;

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

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

    @ApiModelProperty("门店id")
    private String storeId;

    @ApiModelProperty("门店编码")
    private String storeNum;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("是否为草稿 0否 1是")
    private Integer isDraft;

    @ApiModelProperty("处罚单id")
    private Long penaltyId;

    @ApiModelProperty("处罚单号")
    private Long penaltyNo;

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

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

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

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

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

    @ApiModelProperty("复议详细理由")
    private String appealDetailReason;
    
    @ApiModelProperty("处罚单")
    private TpPenaltyApplyDetailVO penaltyDetail;

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

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

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