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