DGasGatherArea.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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_gas_gather_area")
  6. public class DGasGatherArea extends MiniserviceBaseModel implements Serializable {
  7. @Id
  8. private Integer id;
  9. /**
  10. * 事故id
  11. */
  12. private Integer aid;
  13. /**
  14. * 瓦斯灾源Id
  15. */
  16. private Integer gid;
  17. /**
  18. * 积聚区名称
  19. */
  20. private String name;
  21. /**
  22. * 类型 0 => 空白区
  23. 1 => 积聚区
  24. 2 => 点火区
  25. */
  26. @Column(name = ""type "")
  27. private String type;
  28. /**
  29. * 瓦斯浓度
  30. */
  31. private Float gasdensity;
  32. private static final long serialVersionUID = 1L;
  33. /**
  34. * @return id
  35. */
  36. public Integer getId() {
  37. return id;
  38. }
  39. /**
  40. * @param id
  41. */
  42. public void setId(Integer id) {
  43. this.id = id;
  44. }
  45. /**
  46. * 获取事故id
  47. *
  48. * @return aid - 事故id
  49. */
  50. public Integer getAid() {
  51. return aid;
  52. }
  53. /**
  54. * 设置事故id
  55. *
  56. * @param aid 事故id
  57. */
  58. public void setAid(Integer aid) {
  59. this.aid = aid;
  60. }
  61. /**
  62. * 获取瓦斯灾源Id
  63. *
  64. * @return gid - 瓦斯灾源Id
  65. */
  66. public Integer getGid() {
  67. return gid;
  68. }
  69. /**
  70. * 设置瓦斯灾源Id
  71. *
  72. * @param gid 瓦斯灾源Id
  73. */
  74. public void setGid(Integer gid) {
  75. this.gid = gid;
  76. }
  77. /**
  78. * 获取积聚区名称
  79. *
  80. * @return name - 积聚区名称
  81. */
  82. public String getName() {
  83. return name;
  84. }
  85. /**
  86. * 设置积聚区名称
  87. *
  88. * @param name 积聚区名称
  89. */
  90. public void setName(String name) {
  91. this.name = name == null ? null : name.trim();
  92. }
  93. /**
  94. * 获取类型 0 => 空白区
  95. 1 => 积聚区
  96. 2 => 点火区
  97. *
  98. * @return type - 类型 0 => 空白区
  99. 1 => 积聚区
  100. 2 => 点火区
  101. */
  102. public String getType() {
  103. return type;
  104. }
  105. /**
  106. * 设置类型 0 => 空白区
  107. 1 => 积聚区
  108. 2 => 点火区
  109. *
  110. * @param type 类型 0 => 空白区
  111. 1 => 积聚区
  112. 2 => 点火区
  113. */
  114. public void setType(String type) {
  115. this.type = type == null ? null : type.trim();
  116. }
  117. /**
  118. * 获取瓦斯浓度
  119. *
  120. * @return gasdensity - 瓦斯浓度
  121. */
  122. public Float getGasdensity() {
  123. return gasdensity;
  124. }
  125. /**
  126. * 设置瓦斯浓度
  127. *
  128. * @param gasdensity 瓦斯浓度
  129. */
  130. public void setGasdensity(Float gasdensity) {
  131. this.gasdensity = gasdensity;
  132. }
  133. }