|
@@ -0,0 +1,79 @@
|
|
|
|
+package com.huimv.env.common.entity;
|
|
|
|
+
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
+
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
+import java.time.LocalDateTime;
|
|
|
|
+import java.io.Serializable;
|
|
|
|
+import java.util.Date;
|
|
|
|
+
|
|
|
|
+import lombok.Data;
|
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
|
+import lombok.experimental.Accessors;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * <p>
|
|
|
|
+ *
|
|
|
|
+ * </p>
|
|
|
|
+ *
|
|
|
|
+ * @author author
|
|
|
|
+ * @since 2023-03-23
|
|
|
|
+ */
|
|
|
|
+@Data
|
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
|
+@Accessors(chain = true)
|
|
|
|
+@TableName("env_device_recently_data")
|
|
|
|
+public class EnvDeviceRecentlyData implements Serializable {
|
|
|
|
+
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
|
+
|
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
|
+ private Integer id;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 设备id
|
|
|
|
+ */
|
|
|
|
+ private String deviceCode;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 传感器id
|
|
|
|
+ */
|
|
|
|
+ private String chipCode;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 值
|
|
|
|
+ */
|
|
|
|
+ private BigDecimal chipValue;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 1:温度1 2:温度2 3:温度3 4:温度4 5:温度5 6:温度6 7:室外温度 8:湿度 9:压力 10:粉尘 11:氨气 12:co2 13:平均温度 14:目标湿度 15:通风级别 16:加热 17:水暖湿度 18:体感温度
|
|
|
|
+ */
|
|
|
|
+ private Integer chipType;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 传感器名字
|
|
|
|
+ */
|
|
|
|
+ private String chipName;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 0:未安装 1:正常 2:异常
|
|
|
|
+ */
|
|
|
|
+ private Integer chipStatus;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 更新时间
|
|
|
|
+ */
|
|
|
|
+ private Date updateTime;
|
|
|
|
+
|
|
|
|
+ private Integer farmId;
|
|
|
|
+
|
|
|
|
+ private String ohter1;
|
|
|
|
+
|
|
|
|
+ private String ohter2;
|
|
|
|
+
|
|
|
|
+ private String ohter3;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+}
|