EnvDevicePad.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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-07-12
  18. */
  19. @Data
  20. @EqualsAndHashCode(callSuper = false)
  21. @Accessors(chain = true)
  22. @TableName("env_device_pad")
  23. public class EnvDevicePad implements Serializable {
  24. private static final long serialVersionUID = 1L;
  25. @TableId(value = "id", type = IdType.AUTO)
  26. private Integer id;
  27. /**
  28. * 设备id
  29. */
  30. private String deviceCode;
  31. /**
  32. * 传感器id
  33. */
  34. private String chipCode;
  35. /**
  36. * 更新时间
  37. */
  38. private Date updateTime;
  39. /**
  40. * 传感器名字
  41. */
  42. private String chipName;
  43. /**
  44. * 0:关闭 1:开启
  45. */
  46. private Integer chipStatus;
  47. /**
  48. * 值
  49. */
  50. private String chipValue;
  51. private Integer farmId;
  52. private String other1;
  53. private String ohter2;
  54. private String other3;
  55. }