DChecknode.java 2.8 KB

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