From e55c8b0a92eb9715edd90c31dfd4de51a47b588b Mon Sep 17 00:00:00 2001
From: liuhaonan <31457034@qq.com>
Date: 星期五, 04 十一月 2022 17:40:08 +0800
Subject: [PATCH] changes
---
dao/src/main/java/com/sandu/ximon/dao/domain/AirEquipment.java | 148 ++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 140 insertions(+), 8 deletions(-)
diff --git a/dao/src/main/java/com/sandu/ximon/dao/domain/AirEquipment.java b/dao/src/main/java/com/sandu/ximon/dao/domain/AirEquipment.java
index 70d6e38..73a2164 100644
--- a/dao/src/main/java/com/sandu/ximon/dao/domain/AirEquipment.java
+++ b/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;
+}
\ No newline at end of file
--
Gitblit v1.9.3