DChecknode.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. private static final long serialVersionUID = 1L;
  30. /**
  31. * @return id
  32. */
  33. public Integer getId() {
  34. return id;
  35. }
  36. /**
  37. * @param id
  38. */
  39. public void setId(Integer id) {
  40. this.id = id;
  41. }
  42. /**
  43. * 获取管道ID
  44. *
  45. * @return pid - 管道ID
  46. */
  47. public Integer getPid() {
  48. return pid;
  49. }
  50. /**
  51. * 设置管道ID
  52. *
  53. * @param pid 管道ID
  54. */
  55. public void setPid(Integer pid) {
  56. this.pid = pid;
  57. }
  58. /**
  59. * 获取位置
  60. *
  61. * @return site - 位置
  62. */
  63. public Float getSite() {
  64. return site;
  65. }
  66. /**
  67. * 设置位置
  68. *
  69. * @param site 位置
  70. */
  71. public void setSite(Float site) {
  72. this.site = site;
  73. }
  74. /**
  75. * 获取管道名称
  76. *
  77. * @return pname - 管道名称
  78. */
  79. public String getPname() {
  80. return pname;
  81. }
  82. /**
  83. * 设置管道名称
  84. *
  85. * @param pname 管道名称
  86. */
  87. public void setPname(String pname) {
  88. this.pname = pname == null ? null : pname.trim();
  89. }
  90. /**
  91. * 获取监测点名称
  92. *
  93. * @return chname - 监测点名称
  94. */
  95. public String getChname() {
  96. return chname;
  97. }
  98. /**
  99. * 设置监测点名称
  100. *
  101. * @param chname 监测点名称
  102. */
  103. public void setChname(String chname) {
  104. this.chname = chname == null ? null : chname.trim();
  105. }
  106. /**
  107. * 获取监测点编号
  108. *
  109. * @return chcode - 监测点编号
  110. */
  111. public String getChcode() {
  112. return chcode;
  113. }
  114. /**
  115. * 设置监测点编号
  116. *
  117. * @param chcode 监测点编号
  118. */
  119. public void setChcode(String chcode) {
  120. this.chcode = chcode == null ? null : chcode.trim();
  121. }
  122. }