| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 | 
							- package com.miniframe.model.system;
 
- import com.miniframe.system.MiniserviceBaseModel;
 
- import java.io.Serializable;
 
- import javax.persistence.*;
 
- @Table(name = "d_threshold")
 
- public class DThreshold extends MiniserviceBaseModel implements Serializable {
 
-     @Id
 
-     private Integer id;
 
-     /**
 
-      * 灾情类型 Fire-火灾源  Water-水灾源
 
-      */
 
-     private String stype;
 
-     private String height;
 
-     private String temperature;
 
-     private String co2;
 
-     private String ch4;
 
-     /**
 
-      * 等级
 
-      */
 
-     private Integer grade;
 
-     private String so2;
 
-     private static final long serialVersionUID = 1L;
 
-     /**
 
-      * @return id
 
-      */
 
-     public Integer getId() {
 
-         return id;
 
-     }
 
-     /**
 
-      * @param id
 
-      */
 
-     public void setId(Integer id) {
 
-         this.id = id;
 
-     }
 
-     /**
 
-      * 获取灾情类型 Fire-火灾源  Water-水灾源
 
-      *
 
-      * @return stype - 灾情类型 Fire-火灾源  Water-水灾源
 
-      */
 
-     public String getStype() {
 
-         return stype;
 
-     }
 
-     /**
 
-      * 设置灾情类型 Fire-火灾源  Water-水灾源
 
-      *
 
-      * @param stype 灾情类型 Fire-火灾源  Water-水灾源
 
-      */
 
-     public void setStype(String stype) {
 
-         this.stype = stype == null ? null : stype.trim();
 
-     }
 
-     /**
 
-      * @return height
 
-      */
 
-     public String getHeight() {
 
-         return height;
 
-     }
 
-     /**
 
-      * @param height
 
-      */
 
-     public void setHeight(String height) {
 
-         this.height = height == null ? null : height.trim();
 
-     }
 
-     /**
 
-      * @return temperature
 
-      */
 
-     public String getTemperature() {
 
-         return temperature;
 
-     }
 
-     /**
 
-      * @param temperature
 
-      */
 
-     public void setTemperature(String temperature) {
 
-         this.temperature = temperature == null ? null : temperature.trim();
 
-     }
 
-     /**
 
-      * @return co2
 
-      */
 
-     public String getCo2() {
 
-         return co2;
 
-     }
 
-     /**
 
-      * @param co2
 
-      */
 
-     public void setCo2(String co2) {
 
-         this.co2 = co2 == null ? null : co2.trim();
 
-     }
 
-     /**
 
-      * @return ch4
 
-      */
 
-     public String getCh4() {
 
-         return ch4;
 
-     }
 
-     /**
 
-      * @param ch4
 
-      */
 
-     public void setCh4(String ch4) {
 
-         this.ch4 = ch4 == null ? null : ch4.trim();
 
-     }
 
-     /**
 
-      * 获取等级
 
-      *
 
-      * @return grade - 等级
 
-      */
 
-     public Integer getGrade() {
 
-         return grade;
 
-     }
 
-     /**
 
-      * 设置等级
 
-      *
 
-      * @param grade 等级
 
-      */
 
-     public void setGrade(Integer grade) {
 
-         this.grade = grade;
 
-     }
 
-     /**
 
-      * @return so2
 
-      */
 
-     public String getSo2() {
 
-         return so2;
 
-     }
 
-     /**
 
-      * @param so2
 
-      */
 
-     public void setSo2(String so2) {
 
-         this.so2 = so2 == null ? null : so2.trim();
 
-     }
 
- }
 
 
  |