DeviceStatus.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. package com.xy.entity;
  2. import com.baomidou.mybatisplus.annotation.TableId;
  3. import com.baomidou.mybatisplus.annotation.TableName;
  4. import lombok.Data;
  5. import lombok.experimental.Accessors;
  6. import java.time.LocalDateTime;
  7. /**
  8. * <p>
  9. * 设备-状态
  10. * </p>
  11. *
  12. * @author lijin
  13. * @since 2022-12-23
  14. */
  15. @Data
  16. @Accessors(chain = true)
  17. @TableName("device_status")
  18. public class DeviceStatus {
  19. @TableId
  20. private Long deviceId;
  21. /**
  22. * 系统启动时间
  23. */
  24. private LocalDateTime sysStartTime;
  25. /**
  26. * 系统当前时间
  27. */
  28. private LocalDateTime sysCurTime;
  29. /**
  30. * 机器是否通电
  31. */
  32. private Integer sysPower;
  33. /**
  34. * WIFI是否打开
  35. */
  36. private Integer wifiOpen;
  37. /**
  38. * 蓝牙是否打开
  39. */
  40. private Integer bloothOpen;
  41. /**
  42. * 联网状态
  43. */
  44. private Integer netState;
  45. /**
  46. * 联网类型
  47. */
  48. private String netType;
  49. /**
  50. * 联网信号强度
  51. */
  52. private Integer netDbm;
  53. /**
  54. * 左柜门状态
  55. */
  56. private Integer doorStateL;
  57. /**
  58. * 右柜门状态
  59. */
  60. private Integer doorStateR;
  61. /**
  62. * 左柜门锁状态
  63. */
  64. private Integer lockStateL;
  65. /**
  66. * 右柜门锁状态
  67. */
  68. private Integer lockStateR;
  69. /**
  70. * 温度值
  71. */
  72. private Integer tempValue;
  73. /**
  74. * 温控仪状态
  75. */
  76. private Integer tempState;
  77. /**
  78. * 音量
  79. */
  80. private Integer voiceVolume;
  81. /**
  82. * 主灯状态
  83. */
  84. private Integer lightMain;
  85. /**
  86. * 副灯状态
  87. */
  88. private Integer lightSecond;
  89. /**
  90. * 磁盘空间
  91. */
  92. private Integer diskSpace;
  93. /**
  94. * 磁盘剩余空间
  95. */
  96. private Integer diskRemainSpace;
  97. /**
  98. * 内存容量
  99. */
  100. private Integer memerySpace;
  101. /**
  102. * 内存剩余容量
  103. */
  104. private Integer memeryRemainSpace;
  105. /**
  106. * 左柜主摄像头状态
  107. */
  108. private Integer cameraLMainState;
  109. /**
  110. * 左柜副摄像头状态
  111. */
  112. private Integer cameraLSecondState;
  113. /**
  114. * 右柜主摄像头状态
  115. */
  116. private Integer cameraRMainState;
  117. /**
  118. * 右柜副摄像头状态
  119. */
  120. private Integer cameraRSecondState;
  121. /**
  122. * 左门锁机状态
  123. */
  124. private Integer deviceStateL;
  125. /**
  126. * 右门锁机状态
  127. */
  128. private Integer deviceStateR;
  129. /**
  130. * 更新时间
  131. */
  132. private LocalDateTime updateTime;
  133. /**
  134. * 设备商品在售库存数
  135. */
  136. private Integer stock;
  137. /**
  138. * 最近一次补货后的库存数
  139. */
  140. private Integer afterFillStock;
  141. /**
  142. * 缺货状态
  143. */
  144. private Integer stockStatus;
  145. /**
  146. * 是否使用电池
  147. */
  148. private Boolean isUseBattery;
  149. /**
  150. * 是否可交易
  151. */
  152. private Boolean isPay;
  153. /**
  154. * 机柜左门状态
  155. */
  156. private Integer jg1LockStateL;
  157. /**
  158. * 机柜右门状态
  159. */
  160. private Integer jg1LockStateR;
  161. }