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(); } }