EnvDeviceOnline.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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.math.BigDecimal;
  6. import java.util.Date;
  7. import java.io.Serializable;
  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-06-01
  18. */
  19. @Data
  20. @EqualsAndHashCode(callSuper = false)
  21. @Accessors(chain = true)
  22. @TableName("env_device_online")
  23. public class EnvDeviceOnline implements Serializable {
  24. private static final long serialVersionUID = 1L;
  25. @TableId(value = "id", type = IdType.AUTO)
  26. private Integer id;
  27. private String farmId;
  28. /**
  29. * 在线数
  30. */
  31. private Integer deviceOn;
  32. /**
  33. * 离线数
  34. */
  35. private Integer deviceOff;
  36. /**
  37. * 月份
  38. */
  39. private Integer nowMonth;
  40. /**
  41. * 年份
  42. */
  43. private Integer nowYear;
  44. /**
  45. * 时间
  46. */
  47. private Date creatTime;
  48. /**
  49. * 在线率
  50. */
  51. private BigDecimal onlineRate;
  52. private String ohter1;
  53. private String ohter2;
  54. private String ohter3;
  55. }