DChecknode.java 2.0 KB

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