DBoundary.java 4.5 KB

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