123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- package com.miniframe.model.system;
- import com.miniframe.system.MiniserviceBaseModel;
- import java.io.Serializable;
- import javax.persistence.*;
- @Table(name = "d_gas_gather_area")
- public class DGasGatherArea extends MiniserviceBaseModel implements Serializable {
- @Id
- private Integer id;
- /**
- * 事故id
- */
- private Integer aid;
- /**
- * 瓦斯灾源Id
- */
- private Integer gid;
- /**
- * 积聚区名称
- */
- private String name;
- /**
- * 类型 0 => 空白区
- 1 => 积聚区
- 2 => 点火区
- */
- private String type;
- /**
- * 瓦斯浓度
- */
- private Float gasdensity;
- private static final long serialVersionUID = 1L;
- /**
- * @return id
- */
- public Integer getId() {
- return id;
- }
- /**
- * @param id
- */
- public void setId(Integer id) {
- this.id = id;
- }
- /**
- * 获取事故id
- *
- * @return aid - 事故id
- */
- public Integer getAid() {
- return aid;
- }
- /**
- * 设置事故id
- *
- * @param aid 事故id
- */
- public void setAid(Integer aid) {
- this.aid = aid;
- }
- /**
- * 获取瓦斯灾源Id
- *
- * @return gid - 瓦斯灾源Id
- */
- public Integer getGid() {
- return gid;
- }
- /**
- * 设置瓦斯灾源Id
- *
- * @param gid 瓦斯灾源Id
- */
- public void setGid(Integer gid) {
- this.gid = gid;
- }
- /**
- * 获取积聚区名称
- *
- * @return name - 积聚区名称
- */
- public String getName() {
- return name;
- }
- /**
- * 设置积聚区名称
- *
- * @param name 积聚区名称
- */
- public void setName(String name) {
- this.name = name == null ? null : name.trim();
- }
- /**
- * 获取类型 0 => 空白区
- 1 => 积聚区
- 2 => 点火区
- *
- * @return type - 类型 0 => 空白区
- 1 => 积聚区
- 2 => 点火区
- */
- public String getType() {
- return type;
- }
- /**
- * 设置类型 0 => 空白区
- 1 => 积聚区
- 2 => 点火区
- *
- * @param type 类型 0 => 空白区
- 1 => 积聚区
- 2 => 点火区
- */
- public void setType(String type) {
- this.type = type == null ? null : type.trim();
- }
- /**
- * 获取瓦斯浓度
- *
- * @return gasdensity - 瓦斯浓度
- */
- public Float getGasdensity() {
- return gasdensity;
- }
- /**
- * 设置瓦斯浓度
- *
- * @param gasdensity 瓦斯浓度
- */
- public void setGasdensity(Float gasdensity) {
- this.gasdensity = gasdensity;
- }
- }
|