DChecknode.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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_checknode")
  6. public class DChecknode extends MiniserviceBaseModel implements Serializable {
  7. /**
  8. * ID
  9. */
  10. @Id
  11. private Integer id;
  12. /**
  13. * 管道ID
  14. */
  15. private Integer pid;
  16. /**
  17. * 位置
  18. */
  19. private Float site;
  20. /**
  21. * 管道名称
  22. */
  23. private String pname;
  24. /**
  25. * 监测点名称
  26. */
  27. private String chname;
  28. /**
  29. * 监测点编号
  30. */
  31. private String chcode;
  32. /**
  33. * 管道编号
  34. */
  35. private String pcode;
  36. /**
  37. * 位置说明
  38. */
  39. private String siteremark;
  40. private static final long serialVersionUID = 1L;
  41. /**
  42. * 获取ID
  43. *
  44. * @return id - ID
  45. */
  46. public Integer getId() {
  47. return id;
  48. }
  49. /**
  50. * 设置ID
  51. *
  52. * @param id ID
  53. */
  54. public void setId(Integer id) {
  55. this.id = id;
  56. }
  57. /**
  58. * 获取管道ID
  59. *
  60. * @return pid - 管道ID
  61. */
  62. public Integer getPid() {
  63. return pid;
  64. }
  65. /**
  66. * 设置管道ID
  67. *
  68. * @param pid 管道ID
  69. */
  70. public void setPid(Integer pid) {
  71. this.pid = pid;
  72. }
  73. /**
  74. * 获取位置
  75. *
  76. * @return site - 位置
  77. */
  78. public Float getSite() {
  79. return site;
  80. }
  81. /**
  82. * 设置位置
  83. *
  84. * @param site 位置
  85. */
  86. public void setSite(Float site) {
  87. this.site = site;
  88. }
  89. /**
  90. * 获取管道名称
  91. *
  92. * @return pname - 管道名称
  93. */
  94. public String getPname() {
  95. return pname;
  96. }
  97. /**
  98. * 设置管道名称
  99. *
  100. * @param pname 管道名称
  101. */
  102. public void setPname(String pname) {
  103. this.pname = pname == null ? null : pname.trim();
  104. }
  105. /**
  106. * 获取监测点名称
  107. *
  108. * @return chname - 监测点名称
  109. */
  110. public String getChname() {
  111. return chname;
  112. }
  113. /**
  114. * 设置监测点名称
  115. *
  116. * @param chname 监测点名称
  117. */
  118. public void setChname(String chname) {
  119. this.chname = chname == null ? null : chname.trim();
  120. }
  121. /**
  122. * 获取监测点编号
  123. *
  124. * @return chcode - 监测点编号
  125. */
  126. public String getChcode() {
  127. return chcode;
  128. }
  129. /**
  130. * 设置监测点编号
  131. *
  132. * @param chcode 监测点编号
  133. */
  134. public void setChcode(String chcode) {
  135. this.chcode = chcode == null ? null : chcode.trim();
  136. }
  137. /**
  138. * 获取管道编号
  139. *
  140. * @return pcode - 管道编号
  141. */
  142. public String getPcode() {
  143. return pcode;
  144. }
  145. /**
  146. * 设置管道编号
  147. *
  148. * @param pcode 管道编号
  149. */
  150. public void setPcode(String pcode) {
  151. this.pcode = pcode == null ? null : pcode.trim();
  152. }
  153. /**
  154. * 获取位置说明
  155. *
  156. * @return siteremark - 位置说明
  157. */
  158. public String getSiteremark() {
  159. return siteremark;
  160. }
  161. /**
  162. * 设置位置说明
  163. *
  164. * @param siteremark 位置说明
  165. */
  166. public void setSiteremark(String siteremark) {
  167. this.siteremark = siteremark == null ? null : siteremark.trim();
  168. }
  169. }