123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- package com.huimv.beeboxs.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import java.time.LocalDateTime;
- import java.io.Serializable;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- /**
- * <p>
- *
- * </p>
- *
- * @author author
- * @since 2022-04-21
- */
- @Data
- @EqualsAndHashCode(callSuper = false)
- @Accessors(chain = true)
- @TableName("hive_beehive")
- public class HiveBeehive implements Serializable {
- private static final long serialVersionUID = 1L;
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 传感器 ID
- */
- private String hiveId;
- /**
- * 基站ID
- */
- private String stationId;
- /**
- * 蜂箱编码
- */
- private String hiveCode;
- /**
- * 网络状态
- */
- private Integer netStatus;
- /**
- * 电量
- */
- private String bat;
- /**
- * 信号强度
- */
- private String rssi;
- /**
- * 状态
- */
- private Integer beeStatus;
- /**
- * 温度
- */
- private String temp;
- /**
- * 湿度
- */
- private String humi;
- /**
- * 上传时间
- */
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
- private Date uploadTime;
- /**
- * 拓展字段 1
- */
- private String other1;
- /**
- * 拓展字段 2
- */
- private String other2;
- /**
- * 日期
- */
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
- private Date createDate;
- /**
- * 牧场id
- */
- private Integer farmId;
- }
|