package com.zksy.manhole.dto.in;

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

import java.io.Serializable;

/**
 * 保存设备预警阈值-入参
 *
 * @author xianggx
 */
@Data
@ApiModel(value = "保存设备预警阈值-入参", description = "保存设备预警阈值-入参")
public class WarningThresholdInDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预警阈值ID:修改时必填")
    private String id;

    @ApiModelProperty(value = "设备编码，支持多个设备编号，用逗号分隔", required = true)
    private String deviceCode;

    @ApiModelProperty(value = "预警类型", required = true)
    private String warningType;

    @ApiModelProperty(value = "预警编码", required = true)
    private String warningCode;

    @ApiModelProperty(value = "预警最小值，小于等于该值视为报警", required = true)
    private Double minValue;

    @ApiModelProperty(value = "预警最大值，大于等于该值视为报警", required = true)
    private Double maxValue;

    @ApiModelProperty(value = "备注")
    private String remark;
}
