package org.jeecg.modules.energy.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bu_air_quality
 * @Author: jeecg-boot
 * @Date:   2024-05-09
 * @Version: V1.0
 */
@Data
@TableName("bu_air_quality_online")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_air_quality_online对象", description="bu_air_quality_online")
public class BuAirQuality implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**采集时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "采集时间")
    private Date createTime;
	/**上传服务名*/
	@Excel(name = "上传服务名", width = 15)
    @ApiModelProperty(value = "上传服务名")
    private String serverName;
//    private Integer code;
	/**传感器Id*/
	@Excel(name = "传感器Id", width = 15)
    @ApiModelProperty(value = "传感器Id")
    @Dict(dictTable = "bu_sensor",dicText = "name",dicCode = "id")
    private String sensorId;
    /**数据状态*/
    @Excel(name = "数据状态", width = 15)
    @ApiModelProperty(value = "数据状态")
    private int status;
    /**异常字段*/
    @Excel(name = "异常字段", width = 15)
    @ApiModelProperty(value = "异常字段")
    private String statusname;
    /**PM2.5*/
	@Excel(name = "PM2.5", width = 15)
    @ApiModelProperty(value = "PM2.5")
    private Double pm25;
	/**PM10*/
	@Excel(name = "PM10", width = 15)
    @ApiModelProperty(value = "PM10")
    private Double pm10;
	/**温度*/
	@Excel(name = "温度", width = 15)
    @ApiModelProperty(value = "温度")
    private Double humidity;
	/**湿度*/
	@Excel(name = "湿度", width = 15)
    @ApiModelProperty(value = "湿度")
    private Double temperature;
	/**大气压力*/
	@Excel(name = "大气压力", width = 15)
    @ApiModelProperty(value = "大气压力")
    private Double pressure;
	/**光照度*/
	@Excel(name = "光照度", width = 15)
    @ApiModelProperty(value = "光照度")
    private Double illuminance;
	/**UV线电压*/
	@Excel(name = "UV线电压", width = 15)
    @ApiModelProperty(value = "UV线电压")
    private Double tvoc;
	/**二氧化碳*/
	@Excel(name = "二氧化碳", width = 15)
    @ApiModelProperty(value = "二氧化碳")
    private Double co2;
	/**甲醛*/
	@Excel(name = "甲醛", width = 15)
    @ApiModelProperty(value = "甲醛")
    private Double hcho;
	/**臭氧*/
	@Excel(name = "臭氧", width = 15)
    @ApiModelProperty(value = "臭氧")
    private Double o3;
	/**氧气*/
	@Excel(name = "氧气", width = 15)
    @ApiModelProperty(value = "氧气")
    private Double o2;
	/**硫化氢*/
	@Excel(name = "硫化氢", width = 15)
    @ApiModelProperty(value = "硫化氢")
    private Double h2s;
	/**可燃气体*/
	@Excel(name = "可燃气体", width = 15)
    @ApiModelProperty(value = "可燃气体")
    private Double ch4;
	/**一氧化碳*/
	@Excel(name = "一氧化碳", width = 15)
    @ApiModelProperty(value = "一氧化碳")
    private Double co;
	/**二氧化碳*/
	@Excel(name = "二氧化碳", width = 15)
    @ApiModelProperty(value = "二氧化碳")
    private Double no2;
	/**二氧化硫*/
	@Excel(name = "二氧化硫", width = 15)
    @ApiModelProperty(value = "二氧化硫")
    private Double so2;
	/**氢气*/
	@Excel(name = "氢气", width = 15)
    @ApiModelProperty(value = "氢气")
    private Double h2;
	/**氨气*/
	@Excel(name = "氨气", width = 15)
    @ApiModelProperty(value = "氨气")
    private Double nh3;
	/**噪声*/
	@Excel(name = "噪声", width = 15)
    @ApiModelProperty(value = "噪声")
    private Double noise;
	/**异味*/
	@Excel(name = "异味", width = 15)
    @ApiModelProperty(value = "异味")
    private Double odor;
	/**TSP总悬浮微粒*/
	@Excel(name = "TSP总悬浮微粒", width = 15)
    @ApiModelProperty(value = "TSP总悬浮微粒")
    private Double tsp;
	/**烟雾*/
	@Excel(name = "烟雾", width = 15)
    @ApiModelProperty(value = "烟雾")
    private Double smoke;

    @TableField(exist = false)
    private String deviceId;
    @TableField(exist = false)
    private String beginTime;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)
    private String inTime;
    @TableField(exist = false)
    private String outTime;
    @TableField(exist = false)
    private String deviceName;
    @TableField(exist = false)
    private String deviceCode;
    @TableField(exist = false)
    private String dataUnit;
}
