2021与蓝度共同重构项目,服务端
LHN
2022-10-19 bc940795faa161a988a7df3f27072bb426f17fdb
dao/src/main/java/com/sandu/ximon/dao/domain/AirEquipment.java
@@ -1,23 +1,155 @@
package com.sandu.ximon.dao.domain;
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 com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * 大气设备
 *
 * @TableName air_equipment
 */
@TableName(value = "air_equipment")
@Data
public class AirEquipment implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    //所属灯杆
    private String belongTo;
    //大气设备状态:在线:1/离线:0
    private int equipmentState;
    //接入时间
    /**
     * MAC地址灯杆
     */
    private String mac;
    /**
     * MAC地址大气
     */
    @JsonIgnore
    private String airMac;
    /**
     * 设备型号
     */
    private String deviceType;
    /**
     * 模块预热状态标志
     */
    private String moduleWarmUpStatusFlag;
    /**
     * 温度值
     */
    private Integer temperature;
    /**
     * 湿度值
     */
    private Integer humidity;
    /**
     * 风速
     */
    private Integer windSpeed;
    /**
     * 风向
     */
    private Integer windDirection;
    /**
     * 风力
     */
    private Integer windPower;
    /**
     * 大气压
     */
    private Integer pressure;
    /**
     * 光强
     */
    private Integer lightIntensity;
    /**
     * 噪音
     */
    private Integer noise;
    /**
     * pm25
     */
    private Integer pm25;
    /**
     * PM10
     */
    private Integer pm10;
    /**
     * 总悬浮颗粒物TSP
     */
    private Integer tsp;
    /**
     * 雨量
     */
    private Integer rain;
    /**
     * SO2二氧化硫相对值
     */
    private Integer so2;
    /**
     * 甲醛相对值
     */
    private Integer ech2o;
    /**
     * NO2二氧化氮
     */
    private Integer no2;
    /**
     * TVOC
     */
    private Integer tvoc;
    /**
     * CO一氧化碳
     */
    private Integer co;
    /**
     * 二氧化碳
     */
    private Integer co2;
    /**
     * O3臭氧
     */
    private Integer o3;
    /**
     * F氟化物
     */
    private Integer fluoride;
    /**
     * 接入时间
     */
    private LocalDateTime createTime;
    //所属人
    private Long userId;
}
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}