package com.njcn.process.pojo.param;

import com.njcn.process.pojo.po.ThsOverRunLog;
import com.njcn.process.pojo.po.ThsSupervise;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SuperviseParam {

    @ApiModelProperty(name = "initType", value = "创建类型： 0自动；1手动", required = true)
    @NotNull(message = "创建类型不可为空")
    private Integer initType;
    @ApiModelProperty(name = "deptId", value = "部门id")
    private String deptId;
    @ApiModelProperty(name = "overRunLog", value = "监测点集合")
    private List<ThsOverRunLog> overRunLog;
    @ApiModelProperty(name = "supIndex", value = "技术监督Guid")
    private String supIndex;
    @ApiModelProperty(name = "name", value = "技术监督名称")
    private String name;
    @ApiModelProperty(name = "description", value = "描述")
    private String description;
    @ApiModelProperty(name = "thsSupervise", value = "技术监督参数")
    private ThsSupervise thsSupervise;
    @ApiModelProperty(name = "type", value = "类型（0：预警；1：告警）")
    @NotNull(message = "类型不可为空")
    private Integer type;

    @ApiModelProperty(name = "reDate", value = "用于补招时间")
    private String reDate;


}
