Device.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. package com.zhongbei.dzserve.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.time.LocalDateTime;
  5. /**
  6. * 设备表
  7. */
  8. public class Device implements Serializable {
  9. /**
  10. * 序号
  11. */
  12. private Integer id;
  13. /**
  14. * 设备编号
  15. */
  16. private String devicename;
  17. /**
  18. * 设备名称
  19. */
  20. private String aliasName;
  21. /**
  22. * 设备类型
  23. */
  24. private String deviceType;
  25. /**
  26. * 测区ID
  27. */
  28. private Integer surveyId;
  29. /**
  30. * 卡号
  31. */
  32. private String simNo;
  33. /**
  34. * 备注
  35. */
  36. private String remark;
  37. /**
  38. * 地址
  39. */
  40. private String address;
  41. /**
  42. * 安装时间
  43. */
  44. private LocalDateTime installTime;
  45. /**
  46. * 供电方式
  47. */
  48. private String powerType;
  49. /**
  50. * 通信方式
  51. */
  52. private String netType;
  53. /**
  54. * 经度
  55. */
  56. private BigDecimal longitude;
  57. /**
  58. * 纬度
  59. */
  60. private BigDecimal latitude;
  61. public Integer getId() {
  62. return id;
  63. }
  64. public void setId(Integer id) {
  65. this.id = id;
  66. }
  67. public String getDevicename() {
  68. return devicename;
  69. }
  70. public void setDevicename(String devicename) {
  71. this.devicename = devicename;
  72. }
  73. public String getAliasName() {
  74. return aliasName;
  75. }
  76. public void setAliasName(String aliasName) {
  77. this.aliasName = aliasName;
  78. }
  79. public String getDeviceType() {
  80. return deviceType;
  81. }
  82. public void setDeviceType(String deviceType) {
  83. this.deviceType = deviceType;
  84. }
  85. public Integer getSurveyId() {
  86. return surveyId;
  87. }
  88. public void setSurveyId(Integer surveyId) {
  89. this.surveyId = surveyId;
  90. }
  91. public String getSimNo() {
  92. return simNo;
  93. }
  94. public void setSimNo(String simNo) {
  95. this.simNo = simNo;
  96. }
  97. public String getRemark() {
  98. return remark;
  99. }
  100. public void setRemark(String remark) {
  101. this.remark = remark;
  102. }
  103. public String getAddress() {
  104. return address;
  105. }
  106. public void setAddress(String address) {
  107. this.address = address;
  108. }
  109. public LocalDateTime getInstallTime() {
  110. return installTime;
  111. }
  112. public void setInstallTime(LocalDateTime installTime) {
  113. this.installTime = installTime;
  114. }
  115. public String getPowerType() {
  116. return powerType;
  117. }
  118. public void setPowerType(String powerType) {
  119. this.powerType = powerType;
  120. }
  121. public String getNetType() {
  122. return netType;
  123. }
  124. public void setNetType(String netType) {
  125. this.netType = netType;
  126. }
  127. public BigDecimal getLongitude() {
  128. return longitude;
  129. }
  130. public void setLongitude(BigDecimal longitude) {
  131. this.longitude = longitude;
  132. }
  133. public BigDecimal getLatitude() {
  134. return latitude;
  135. }
  136. public void setLatitude(BigDecimal latitude) {
  137. this.latitude = latitude;
  138. }
  139. @Override
  140. public String toString() {
  141. return "Device{" +
  142. "id=" + id +
  143. ", devicename='" + devicename + '\'' +
  144. ", aliasName='" + aliasName + '\'' +
  145. ", deviceType='" + deviceType + '\'' +
  146. ", surveyId=" + surveyId +
  147. ", simNo='" + simNo + '\'' +
  148. ", remark='" + remark + '\'' +
  149. ", address='" + address + '\'' +
  150. ", installTime=" + installTime +
  151. ", powerType='" + powerType + '\'' +
  152. ", netType='" + netType + '\'' +
  153. ", longitude=" + longitude +
  154. ", latitude=" + latitude +
  155. '}';
  156. }
  157. }