package com.njcn.device.pq.pojo.param;

import com.njcn.web.pojo.annotation.DateTimeStrValid;
import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * pqs
 *
 * @author cdf
 * @date 2022/6/10
 */
@Data
@ApiModel
public class AlarmParam extends BaseParam{

    @NotBlank(message = "起始时间不可为空")
    @DateTimeStrValid
    @ApiModelProperty(name = "startTime",value = "起始时间")
    private String startTime;

    @NotBlank(message = "结束时间不可为空")
    @DateTimeStrValid
    @ApiModelProperty(name = "endTime",value = "结束时间")
    private String endTime;

    @ApiModelProperty(name = "type",value = "告警类型")
    private String type;

    @ApiModelProperty(name = "flag",value = "是否处理 0.未处理 1.处理")
    private Integer flag;

    @ApiModelProperty(name = "alarmLevel",value = "告警等级")
    private Integer alarmLevel;

    @ApiModelProperty(name = "alarmLevel",value = "监测点等级")
    private String lineGrade;

    @ApiModelProperty(name = "devLineId",value = "监测点装置id")
    private String devLineId;

    @ApiModelProperty(name = "processTime",value = "处理时间")
    private String processTime;
}
