package com.gonghang.h5clientapp.beans.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 环境阈值
 *
 * @author machao
 * @version 1.0
 * @date 2021/6/2 13:55
 */
@Data
@TableName("env_setting")
public class EnvSettingDTO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "环境指标类型(CO;CO2;SF6;O3;PM;TEMPERATURE;HUMIDITY)")
    private String envType;

    @ApiModelProperty(value = "环境名称(一氧化碳,二氧化碳,六氟化硫,臭氧,PM2.5,温度,湿度)")
    private String envName;

    @ApiModelProperty(value = "安全范围最大值")
    private String safeMax;

    @ApiModelProperty(value = "安全范围最小值")
    private String safeMin;

    @ApiModelProperty(value = "预警最大值1组")
    private String earlyWarningMax1;

    @ApiModelProperty(value = "预警最小值1组")
    private String earlyWarningMin1;

    @ApiModelProperty(value = "预警最大值2组")
    private String earlyWarningMax2;

    @ApiModelProperty(value = "预警最小值2组")
    private String earlyWarningMin2;

    @ApiModelProperty(value = "危急范围最大值")
    private String seriousWarningMax;

    @ApiModelProperty(value = "危急范围最小值")
    private String seriousWarningMin;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    private Integer updateUserId;
}
