DBoundary.java 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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_boundary")
  6. public class DBoundary extends MiniserviceBaseModel implements Serializable {
  7. @Id
  8. private Integer id;
  9. private Integer nid;
  10. /**
  11. * 节点名称
  12. */
  13. private String nname;
  14. /**
  15. * massflow质量流 pressure压力
  16. */
  17. private String type;
  18. /**
  19. * 事故id
  20. */
  21. private Integer aid;
  22. /**
  23. * 流量
  24. */
  25. private String flow;
  26. /**
  27. * 压强
  28. */
  29. private String pressure;
  30. /**
  31. * 温度
  32. */
  33. private String temperature;
  34. /**
  35. * 污染物浓度1
  36. */
  37. private String polcon1;
  38. /**
  39. * 污染物浓度2
  40. */
  41. private String polcon2;
  42. /**
  43. * 节点编码
  44. */
  45. private String ncode;
  46. private static final long serialVersionUID = 1L;
  47. /**
  48. * @return id
  49. */
  50. public Integer getId() {
  51. return id;
  52. }
  53. /**
  54. * @param id
  55. */
  56. public void setId(Integer id) {
  57. this.id = id;
  58. }
  59. /**
  60. * @return nid
  61. */
  62. public Integer getNid() {
  63. return nid;
  64. }
  65. /**
  66. * @param nid
  67. */
  68. public void setNid(Integer nid) {
  69. this.nid = nid;
  70. }
  71. /**
  72. * 获取节点名称
  73. *
  74. * @return nname - 节点名称
  75. */
  76. public String getNname() {
  77. return nname;
  78. }
  79. /**
  80. * 设置节点名称
  81. *
  82. * @param nname 节点名称
  83. */
  84. public void setNname(String nname) {
  85. this.nname = nname == null ? null : nname.trim();
  86. }
  87. /**
  88. * 获取massflow质量流 pressure压力
  89. *
  90. * @return type - massflow质量流 pressure压力
  91. */
  92. public String getType() {
  93. return type;
  94. }
  95. /**
  96. * 设置massflow质量流 pressure压力
  97. *
  98. * @param type massflow质量流 pressure压力
  99. */
  100. public void setType(String type) {
  101. this.type = type == null ? null : type.trim();
  102. }
  103. /**
  104. * 获取事故id
  105. *
  106. * @return aid - 事故id
  107. */
  108. public Integer getAid() {
  109. return aid;
  110. }
  111. /**
  112. * 设置事故id
  113. *
  114. * @param aid 事故id
  115. */
  116. public void setAid(Integer aid) {
  117. this.aid = aid;
  118. }
  119. /**
  120. * 获取流量
  121. *
  122. * @return flow - 流量
  123. */
  124. public String getFlow() {
  125. return flow;
  126. }
  127. /**
  128. * 设置流量
  129. *
  130. * @param flow 流量
  131. */
  132. public void setFlow(String flow) {
  133. this.flow = flow == null ? null : flow.trim();
  134. }
  135. /**
  136. * 获取压强
  137. *
  138. * @return pressure - 压强
  139. */
  140. public String getPressure() {
  141. return pressure;
  142. }
  143. /**
  144. * 设置压强
  145. *
  146. * @param pressure 压强
  147. */
  148. public void setPressure(String pressure) {
  149. this.pressure = pressure == null ? null : pressure.trim();
  150. }
  151. /**
  152. * 获取温度
  153. *
  154. * @return temperature - 温度
  155. */
  156. public String getTemperature() {
  157. return temperature;
  158. }
  159. /**
  160. * 设置温度
  161. *
  162. * @param temperature 温度
  163. */
  164. public void setTemperature(String temperature) {
  165. this.temperature = temperature == null ? null : temperature.trim();
  166. }
  167. /**
  168. * 获取污染物浓度1
  169. *
  170. * @return polcon1 - 污染物浓度1
  171. */
  172. public String getPolcon1() {
  173. return polcon1;
  174. }
  175. /**
  176. * 设置污染物浓度1
  177. *
  178. * @param polcon1 污染物浓度1
  179. */
  180. public void setPolcon1(String polcon1) {
  181. this.polcon1 = polcon1 == null ? null : polcon1.trim();
  182. }
  183. /**
  184. * 获取污染物浓度2
  185. *
  186. * @return polcon2 - 污染物浓度2
  187. */
  188. public String getPolcon2() {
  189. return polcon2;
  190. }
  191. /**
  192. * 设置污染物浓度2
  193. *
  194. * @param polcon2 污染物浓度2
  195. */
  196. public void setPolcon2(String polcon2) {
  197. this.polcon2 = polcon2 == null ? null : polcon2.trim();
  198. }
  199. /**
  200. * 获取节点编码
  201. *
  202. * @return ncode - 节点编码
  203. */
  204. public String getNcode() {
  205. return ncode;
  206. }
  207. /**
  208. * 设置节点编码
  209. *
  210. * @param ncode 节点编码
  211. */
  212. public void setNcode(String ncode) {
  213. this.ncode = ncode == null ? null : ncode.trim();
  214. }
  215. }