DSensorVal.java 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. package com.miniframe.model.system;
  2. import com.miniframe.system.MiniserviceBaseModel;
  3. import java.io.Serializable;
  4. import javax.persistence.*;
  5. @Table(name = "d_sensor_val")
  6. public class DSensorVal extends MiniserviceBaseModel implements Serializable {
  7. @Id
  8. private Integer id;
  9. @Column(name = "mine_code")
  10. private String mineCode;
  11. @Column(name = "point_code")
  12. private String pointCode;
  13. @Column(name = "data_time")
  14. private String dataTime;
  15. @Column(name = "sensor_type")
  16. private String sensorType;
  17. @Column(name = "sensor_type_name")
  18. private String sensorTypeName;
  19. @Column(name = "point_location")
  20. private String pointLocation;
  21. @Column(name = "point_value")
  22. private String pointValue;
  23. @Column(name = "point_status")
  24. private String pointStatus;
  25. @Column(name = "value_unit")
  26. private String valueUnit;
  27. @Column(name = "create_time")
  28. private String createTime;
  29. @Column(name = "x_coordinate")
  30. private String xCoordinate;
  31. @Column(name = "y_coordinate")
  32. private String yCoordinate;
  33. @Column(name = "z_coordinate")
  34. private String zCoordinate;
  35. private String pipes;
  36. private String site;
  37. private Integer aid;
  38. private Integer jid;
  39. private static final long serialVersionUID = 1L;
  40. /**
  41. * @return id
  42. */
  43. public Integer getId() {
  44. return id;
  45. }
  46. /**
  47. * @param id
  48. */
  49. public void setId(Integer id) {
  50. this.id = id;
  51. }
  52. /**
  53. * @return mine_code
  54. */
  55. public String getMineCode() {
  56. return mineCode;
  57. }
  58. /**
  59. * @param mineCode
  60. */
  61. public void setMineCode(String mineCode) {
  62. this.mineCode = mineCode == null ? null : mineCode.trim();
  63. }
  64. /**
  65. * @return point_code
  66. */
  67. public String getPointCode() {
  68. return pointCode;
  69. }
  70. /**
  71. * @param pointCode
  72. */
  73. public void setPointCode(String pointCode) {
  74. this.pointCode = pointCode == null ? null : pointCode.trim();
  75. }
  76. /**
  77. * @return data_time
  78. */
  79. public String getDataTime() {
  80. return dataTime;
  81. }
  82. /**
  83. * @param dataTime
  84. */
  85. public void setDataTime(String dataTime) {
  86. this.dataTime = dataTime == null ? null : dataTime.trim();
  87. }
  88. /**
  89. * @return sensor_type
  90. */
  91. public String getSensorType() {
  92. return sensorType;
  93. }
  94. /**
  95. * @param sensorType
  96. */
  97. public void setSensorType(String sensorType) {
  98. this.sensorType = sensorType == null ? null : sensorType.trim();
  99. }
  100. /**
  101. * @return sensor_type_name
  102. */
  103. public String getSensorTypeName() {
  104. return sensorTypeName;
  105. }
  106. /**
  107. * @param sensorTypeName
  108. */
  109. public void setSensorTypeName(String sensorTypeName) {
  110. this.sensorTypeName = sensorTypeName == null ? null : sensorTypeName.trim();
  111. }
  112. /**
  113. * @return point_location
  114. */
  115. public String getPointLocation() {
  116. return pointLocation;
  117. }
  118. /**
  119. * @param pointLocation
  120. */
  121. public void setPointLocation(String pointLocation) {
  122. this.pointLocation = pointLocation == null ? null : pointLocation.trim();
  123. }
  124. /**
  125. * @return point_value
  126. */
  127. public String getPointValue() {
  128. return pointValue;
  129. }
  130. /**
  131. * @param pointValue
  132. */
  133. public void setPointValue(String pointValue) {
  134. this.pointValue = pointValue == null ? null : pointValue.trim();
  135. }
  136. /**
  137. * @return point_status
  138. */
  139. public String getPointStatus() {
  140. return pointStatus;
  141. }
  142. /**
  143. * @param pointStatus
  144. */
  145. public void setPointStatus(String pointStatus) {
  146. this.pointStatus = pointStatus == null ? null : pointStatus.trim();
  147. }
  148. /**
  149. * @return value_unit
  150. */
  151. public String getValueUnit() {
  152. return valueUnit;
  153. }
  154. /**
  155. * @param valueUnit
  156. */
  157. public void setValueUnit(String valueUnit) {
  158. this.valueUnit = valueUnit == null ? null : valueUnit.trim();
  159. }
  160. /**
  161. * @return create_time
  162. */
  163. public String getCreateTime() {
  164. return createTime;
  165. }
  166. /**
  167. * @param createTime
  168. */
  169. public void setCreateTime(String createTime) {
  170. this.createTime = createTime == null ? null : createTime.trim();
  171. }
  172. /**
  173. * @return x_coordinate
  174. */
  175. public String getxCoordinate() {
  176. return xCoordinate;
  177. }
  178. /**
  179. * @param xCoordinate
  180. */
  181. public void setxCoordinate(String xCoordinate) {
  182. this.xCoordinate = xCoordinate == null ? null : xCoordinate.trim();
  183. }
  184. /**
  185. * @return y_coordinate
  186. */
  187. public String getyCoordinate() {
  188. return yCoordinate;
  189. }
  190. /**
  191. * @param yCoordinate
  192. */
  193. public void setyCoordinate(String yCoordinate) {
  194. this.yCoordinate = yCoordinate == null ? null : yCoordinate.trim();
  195. }
  196. /**
  197. * @return z_coordinate
  198. */
  199. public String getzCoordinate() {
  200. return zCoordinate;
  201. }
  202. /**
  203. * @param zCoordinate
  204. */
  205. public void setzCoordinate(String zCoordinate) {
  206. this.zCoordinate = zCoordinate == null ? null : zCoordinate.trim();
  207. }
  208. /**
  209. * @return pipes
  210. */
  211. public String getPipes() {
  212. return pipes;
  213. }
  214. /**
  215. * @param pipes
  216. */
  217. public void setPipes(String pipes) {
  218. this.pipes = pipes == null ? null : pipes.trim();
  219. }
  220. /**
  221. * @return site
  222. */
  223. public String getSite() {
  224. return site;
  225. }
  226. /**
  227. * @param site
  228. */
  229. public void setSite(String site) {
  230. this.site = site == null ? null : site.trim();
  231. }
  232. /**
  233. * @return aid
  234. */
  235. public Integer getAid() {
  236. return aid;
  237. }
  238. /**
  239. * @param aid
  240. */
  241. public void setAid(Integer aid) {
  242. this.aid = aid;
  243. }
  244. /**
  245. * @return jid
  246. */
  247. public Integer getJid() {
  248. return jid;
  249. }
  250. /**
  251. * @param jid
  252. */
  253. public void setJid(Integer jid) {
  254. this.jid = jid;
  255. }
  256. }