DGasGatherArea.java 2.6 KB

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