package com.miniframe.model.system; import com.miniframe.system.MiniserviceBaseModel; import java.io.Serializable; import javax.persistence.*; @Table(name = "d_node_val") public class DNodeVal extends MiniserviceBaseModel implements Serializable { @Id private Integer id; /** * node Id */ private Integer nid; /** * 事故编号 */ private Integer aid; /** * 水位 */ private Float val1; /** * 温度 */ private Float val2; /** * so2浓度 */ private Float val3; /** * co2浓度 */ private Float val4; /** * 名称 */ private String nname; /** * 类型 */ private String ntype; private static final long serialVersionUID = 1L; /** * @return id */ public Integer getId() { return id; } /** * @param id */ public void setId(Integer id) { this.id = id; } /** * 获取node Id * * @return nid - node Id */ public Integer getNid() { return nid; } /** * 设置node Id * * @param nid node Id */ public void setNid(Integer nid) { this.nid = nid; } /** * 获取事故编号 * * @return aid - 事故编号 */ public Integer getAid() { return aid; } /** * 设置事故编号 * * @param aid 事故编号 */ public void setAid(Integer aid) { this.aid = aid; } /** * 获取水位 * * @return val1 - 水位 */ public Float getVal1() { return val1; } /** * 设置水位 * * @param val1 水位 */ public void setVal1(Float val1) { this.val1 = val1; } /** * 获取温度 * * @return val2 - 温度 */ public Float getVal2() { return val2; } /** * 设置温度 * * @param val2 温度 */ public void setVal2(Float val2) { this.val2 = val2; } /** * 获取so2浓度 * * @return val3 - so2浓度 */ public Float getVal3() { return val3; } /** * 设置so2浓度 * * @param val3 so2浓度 */ public void setVal3(Float val3) { this.val3 = val3; } /** * 获取co2浓度 * * @return val4 - co2浓度 */ public Float getVal4() { return val4; } /** * 设置co2浓度 * * @param val4 co2浓度 */ public void setVal4(Float val4) { this.val4 = val4; } /** * 获取名称 * * @return nname - 名称 */ public String getNname() { return nname; } /** * 设置名称 * * @param nname 名称 */ public void setNname(String nname) { this.nname = nname == null ? null : nname.trim(); } /** * 获取类型 * * @return ntype - 类型 */ public String getNtype() { return ntype; } /** * 设置类型 * * @param ntype 类型 */ public void setNtype(String ntype) { this.ntype = ntype == null ? null : ntype.trim(); } }