package com.njcn.process.pojo.param;

import com.njcn.web.constant.ValidMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

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

/**
 * 未建档干扰源用户实测上传Param
 *
 * @author qijian
 * @version 1.0.0
 * @createTime 2022/11/18 10:00
 */
@Data
public class LoadTypeUserAUploadParam {

    @ApiModelProperty(name = "id",required = true)
    @NotBlank(message = ValidMessage.ID_NOT_BLANK)
    private String id;

    @ApiModelProperty(name = "file",value = "实测报告文件",required = true)
    private MultipartFile file;

    @ApiModelProperty(name = "status",value = "数据状态（1：提交 2：保存）",required = true)
    @NotNull(message = "数据状态不可为空")
    private Integer status;

    @ApiModelProperty(name = "aIsOverLimit",value = "实测是否超标(0:否 1:是)",required = true)
    @NotNull(message = "实测是否超标不可为空")
    private Integer aIsOverLimit;

    @ApiModelProperty(name = "aOverLimitTarget",value = "实测超标指标",required = true)
    @NotBlank(message = "实测超标指标不可为空")
    private String aOverLimitTarget;

    @ApiModelProperty(name = "aPlanStep",value = "实测计划采取措施",required = true)
    @NotBlank(message = "实测计划采取措施不可为空")
    private String aPlanStep;

    @ApiModelProperty(name = "aDescription",value = "实测详情")
    private String aDescription;


}
