DGasGatherArea.java 2.6 KB

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