package com.cool.store.request.tp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

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

    @ApiModelProperty("是否为草稿 0否 1是")
    @NotNull(message = "是否为草稿不能为空")
    private Integer isDraft;

    @ApiModelProperty(value = "来源，0非小程序 1小程序", hidden = true)
    private Integer source;

    @ApiModelProperty(value = "申请人(创建人)id", hidden = true)
    private String applyUserId;

    @ApiModelProperty(value = "申请人(创建人)名称", hidden = true)
    private String applyUserName;

    @ApiModelProperty("证明图片列表")
    @NotEmpty(message = "证明图片列表不能为空")
    private String proofUrls;

    @ApiModelProperty("处罚单id")
    @NotNull(message = "处罚单id不能为空")
    private Long penaltyId;

    @ApiModelProperty("申请人姓名")
    @NotBlank(message = "申请人姓名不能为空")
    private String applicantName;

    @ApiModelProperty("联系电话")
    @NotBlank(message = "联系电话不能为空")
    private String phone;

    @ApiModelProperty("复议理由")
    @NotBlank(message = "复议理由不能为空")
    private String appealReason;

    @ApiModelProperty("复议详细理由")
    @NotBlank(message = "复议详细理由不能为空")
    private String appealDetailReason;
}
