EnvDeviceOnline.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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.time.LocalDateTime;
  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_device_online")
  22. public class EnvDeviceOnline implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Integer id;
  26. private String farmId;
  27. /**
  28. * 在线数
  29. */
  30. private Integer deviceOn;
  31. /**
  32. * 离线数
  33. */
  34. private Integer deviceOff;
  35. /**
  36. * 月份
  37. */
  38. private Integer nowMonth;
  39. /**
  40. * 年份
  41. */
  42. private Integer nowYear;
  43. /**
  44. * 时间
  45. */
  46. private LocalDateTime creatTime;
  47. /**
  48. * 在线率
  49. */
  50. private String onlineRate;
  51. private String ohter1;
  52. private String ohter2;
  53. private String ohter3;
  54. }