EnvWarningInfo.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package com.huimv.guowei.admin.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.util.Date;
  6. import java.io.Serializable;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import lombok.experimental.Accessors;
  10. /**
  11. * <p>
  12. *
  13. * </p>
  14. *
  15. * @author author
  16. * @since 2023-06-01
  17. */
  18. @Data
  19. @EqualsAndHashCode(callSuper = false)
  20. @Accessors(chain = true)
  21. @TableName("env_warning_info")
  22. public class EnvWarningInfo implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Integer id;
  26. /**
  27. * 1.温度 2.湿度
  28. */
  29. private Integer warningType;
  30. /**
  31. * 报警内容
  32. */
  33. private String warningContent;
  34. /**
  35. * 位置
  36. */
  37. private String buildLocation;
  38. /**
  39. * 位置名字
  40. */
  41. private String unitName;
  42. /**
  43. * 单元id
  44. */
  45. private Integer unitId;
  46. /**
  47. * 设备id
  48. */
  49. private String deviceId;
  50. /**
  51. * 日期
  52. */
  53. private Date date;
  54. private Integer farmId;
  55. private String other1;
  56. private String other2;
  57. private String other3;
  58. }