DThreshold.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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_threshold")
  6. public class DThreshold extends MiniserviceBaseModel implements Serializable {
  7. @Id
  8. private Integer id;
  9. /**
  10. * 灾情类型 Fire-火灾源 Water-水灾源
  11. */
  12. private String stype;
  13. private String height;
  14. private String temperature;
  15. private String co2;
  16. private String ch4;
  17. /**
  18. * 等级
  19. */
  20. private Integer grade;
  21. private String so2;
  22. private static final long serialVersionUID = 1L;
  23. /**
  24. * @return id
  25. */
  26. public Integer getId() {
  27. return id;
  28. }
  29. /**
  30. * @param id
  31. */
  32. public void setId(Integer id) {
  33. this.id = id;
  34. }
  35. /**
  36. * 获取灾情类型 Fire-火灾源 Water-水灾源
  37. *
  38. * @return stype - 灾情类型 Fire-火灾源 Water-水灾源
  39. */
  40. public String getStype() {
  41. return stype;
  42. }
  43. /**
  44. * 设置灾情类型 Fire-火灾源 Water-水灾源
  45. *
  46. * @param stype 灾情类型 Fire-火灾源 Water-水灾源
  47. */
  48. public void setStype(String stype) {
  49. this.stype = stype == null ? null : stype.trim();
  50. }
  51. /**
  52. * @return height
  53. */
  54. public String getHeight() {
  55. return height;
  56. }
  57. /**
  58. * @param height
  59. */
  60. public void setHeight(String height) {
  61. this.height = height == null ? null : height.trim();
  62. }
  63. /**
  64. * @return temperature
  65. */
  66. public String getTemperature() {
  67. return temperature;
  68. }
  69. /**
  70. * @param temperature
  71. */
  72. public void setTemperature(String temperature) {
  73. this.temperature = temperature == null ? null : temperature.trim();
  74. }
  75. /**
  76. * @return co2
  77. */
  78. public String getCo2() {
  79. return co2;
  80. }
  81. /**
  82. * @param co2
  83. */
  84. public void setCo2(String co2) {
  85. this.co2 = co2 == null ? null : co2.trim();
  86. }
  87. /**
  88. * @return ch4
  89. */
  90. public String getCh4() {
  91. return ch4;
  92. }
  93. /**
  94. * @param ch4
  95. */
  96. public void setCh4(String ch4) {
  97. this.ch4 = ch4 == null ? null : ch4.trim();
  98. }
  99. /**
  100. * 获取等级
  101. *
  102. * @return grade - 等级
  103. */
  104. public Integer getGrade() {
  105. return grade;
  106. }
  107. /**
  108. * 设置等级
  109. *
  110. * @param grade 等级
  111. */
  112. public void setGrade(Integer grade) {
  113. this.grade = grade;
  114. }
  115. /**
  116. * @return so2
  117. */
  118. public String getSo2() {
  119. return so2;
  120. }
  121. /**
  122. * @param so2
  123. */
  124. public void setSo2(String so2) {
  125. this.so2 = so2 == null ? null : so2.trim();
  126. }
  127. }