DSensorVal.java 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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 static final long serialVersionUID = 1L;
  39. /**
  40. * @return id
  41. */
  42. public Integer getId() {
  43. return id;
  44. }
  45. /**
  46. * @param id
  47. */
  48. public void setId(Integer id) {
  49. this.id = id;
  50. }
  51. /**
  52. * @return mine_code
  53. */
  54. public String getMineCode() {
  55. return mineCode;
  56. }
  57. /**
  58. * @param mineCode
  59. */
  60. public void setMineCode(String mineCode) {
  61. this.mineCode = mineCode == null ? null : mineCode.trim();
  62. }
  63. /**
  64. * @return point_code
  65. */
  66. public String getPointCode() {
  67. return pointCode;
  68. }
  69. /**
  70. * @param pointCode
  71. */
  72. public void setPointCode(String pointCode) {
  73. this.pointCode = pointCode == null ? null : pointCode.trim();
  74. }
  75. /**
  76. * @return data_time
  77. */
  78. public String getDataTime() {
  79. return dataTime;
  80. }
  81. /**
  82. * @param dataTime
  83. */
  84. public void setDataTime(String dataTime) {
  85. this.dataTime = dataTime == null ? null : dataTime.trim();
  86. }
  87. /**
  88. * @return sensor_type
  89. */
  90. public String getSensorType() {
  91. return sensorType;
  92. }
  93. /**
  94. * @param sensorType
  95. */
  96. public void setSensorType(String sensorType) {
  97. this.sensorType = sensorType == null ? null : sensorType.trim();
  98. }
  99. /**
  100. * @return sensor_type_name
  101. */
  102. public String getSensorTypeName() {
  103. return sensorTypeName;
  104. }
  105. /**
  106. * @param sensorTypeName
  107. */
  108. public void setSensorTypeName(String sensorTypeName) {
  109. this.sensorTypeName = sensorTypeName == null ? null : sensorTypeName.trim();
  110. }
  111. /**
  112. * @return point_location
  113. */
  114. public String getPointLocation() {
  115. return pointLocation;
  116. }
  117. /**
  118. * @param pointLocation
  119. */
  120. public void setPointLocation(String pointLocation) {
  121. this.pointLocation = pointLocation == null ? null : pointLocation.trim();
  122. }
  123. /**
  124. * @return point_value
  125. */
  126. public String getPointValue() {
  127. return pointValue;
  128. }
  129. /**
  130. * @param pointValue
  131. */
  132. public void setPointValue(String pointValue) {
  133. this.pointValue = pointValue == null ? null : pointValue.trim();
  134. }
  135. /**
  136. * @return point_status
  137. */
  138. public String getPointStatus() {
  139. return pointStatus;
  140. }
  141. /**
  142. * @param pointStatus
  143. */
  144. public void setPointStatus(String pointStatus) {
  145. this.pointStatus = pointStatus == null ? null : pointStatus.trim();
  146. }
  147. /**
  148. * @return value_unit
  149. */
  150. public String getValueUnit() {
  151. return valueUnit;
  152. }
  153. /**
  154. * @param valueUnit
  155. */
  156. public void setValueUnit(String valueUnit) {
  157. this.valueUnit = valueUnit == null ? null : valueUnit.trim();
  158. }
  159. /**
  160. * @return create_time
  161. */
  162. public String getCreateTime() {
  163. return createTime;
  164. }
  165. /**
  166. * @param createTime
  167. */
  168. public void setCreateTime(String createTime) {
  169. this.createTime = createTime == null ? null : createTime.trim();
  170. }
  171. /**
  172. * @return x_coordinate
  173. */
  174. public String getxCoordinate() {
  175. return xCoordinate;
  176. }
  177. /**
  178. * @param xCoordinate
  179. */
  180. public void setxCoordinate(String xCoordinate) {
  181. this.xCoordinate = xCoordinate == null ? null : xCoordinate.trim();
  182. }
  183. /**
  184. * @return y_coordinate
  185. */
  186. public String getyCoordinate() {
  187. return yCoordinate;
  188. }
  189. /**
  190. * @param yCoordinate
  191. */
  192. public void setyCoordinate(String yCoordinate) {
  193. this.yCoordinate = yCoordinate == null ? null : yCoordinate.trim();
  194. }
  195. /**
  196. * @return z_coordinate
  197. */
  198. public String getzCoordinate() {
  199. return zCoordinate;
  200. }
  201. /**
  202. * @param zCoordinate
  203. */
  204. public void setzCoordinate(String zCoordinate) {
  205. this.zCoordinate = zCoordinate == null ? null : zCoordinate.trim();
  206. }
  207. /**
  208. * @return pipes
  209. */
  210. public String getPipes() {
  211. return pipes;
  212. }
  213. /**
  214. * @param pipes
  215. */
  216. public void setPipes(String pipes) {
  217. this.pipes = pipes == null ? null : pipes.trim();
  218. }
  219. /**
  220. * @return site
  221. */
  222. public String getSite() {
  223. return site;
  224. }
  225. /**
  226. * @param site
  227. */
  228. public void setSite(String site) {
  229. this.site = site == null ? null : site.trim();
  230. }
  231. /**
  232. * @return aid
  233. */
  234. public Integer getAid() {
  235. return aid;
  236. }
  237. /**
  238. * @param aid
  239. */
  240. public void setAid(Integer aid) {
  241. this.aid = aid;
  242. }
  243. }