package com.casic.endoscope.bean; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Generated; import org.greenrobot.greendao.annotation.Id; /** * 必须是java,不能是kt * 甲烷浓度表结构 */ @Entity public class GasValueBean { @Id(autoincrement = true) private Long id;//主键自增 private String time;//采集浓度的时间 private int value;//采集的浓度 private String location;//浓度采集点位置 @Generated(hash = 663679791) public GasValueBean(Long id, String time, int value, String location) { this.id = id; this.time = time; this.value = value; this.location = location; } @Generated(hash = 291409217) public GasValueBean() { } public Long getId() { return this.id; } public void setId(Long id) { this.id = id; } public String getTime() { return this.time; } public void setTime(String time) { this.time = time; } public int getValue() { return this.value; } public void setValue(int value) { this.value = value; } public String getLocation() { return this.location; } public void setLocation(String location) { this.location = location; } }