package com.njcn.process.pojo.param;

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

import javax.validation.constraints.NotNull;

/**
 * 在线监测超标问题Param
 * @author xiaoyao
 * @version 1.0.0
 * @createTime 2022/11/14 10:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ExcessiveParam extends IssuesParam {

    @ApiModelProperty(name = "warnTarget",value = "告警指标")
    @NotNull(message = "告警指标不可为空")
    private String warnTarget;

    @ApiModelProperty(name = "warnReason",value = "告警原因")
//    @NotNull(message = "告警原因不可为空")
    private String warnReason;

    @ApiModelProperty(name = "measurementPointId",value = "监测点ID")
    @NotNull(message = "监测点ID不可为空")
    private String measurementPointId;

    @ApiModelProperty(name = "measurementPointId",value = "监测点ID")
    @NotNull(message = "监测点ID不可为空")
    private String measurementPointName;

    @ApiModelProperty(name = "warnLastTime",value = "告警持续时间")
//    @NotNull(message = "告警持续时间不可为空")
    private String warnLastTime;
}
