EnvWarning.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package com.huimv.env.common.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import java.time.LocalDateTime;
  6. import java.io.Serializable;
  7. import java.util.Date;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import lombok.experimental.Accessors;
  11. /**
  12. * <p>
  13. *
  14. * </p>
  15. *
  16. * @author author
  17. * @since 2023-03-23
  18. */
  19. @Data
  20. @EqualsAndHashCode(callSuper = false)
  21. @Accessors(chain = true)
  22. @TableName("env_warning")
  23. public class EnvWarning implements Serializable {
  24. private static final long serialVersionUID = 1L;
  25. @TableId(value = "id", type = IdType.AUTO)
  26. private Integer id;
  27. private String warningContent;
  28. private Integer unitId;
  29. private String deviceCode;
  30. private String chipCode;
  31. private Date updateTime;
  32. //1,断电 2高温 3低温 4高湿度 5低湿度 6高气压 7高CO2 8传感器异常
  33. private Integer warningType;
  34. //1,开始 2停止
  35. private Integer warningAct;
  36. private Integer farmId;
  37. private String other1;
  38. private String other2;
  39. private String other3;
  40. }