package cn.flightfeather.supervision.domain.entity;
|
|
import java.util.Date;
|
import javax.persistence.*;
|
|
@Table(name = "ja_t_lamp_device_data")
|
public class LampDeviceData {
|
@Id
|
private Integer id;
|
|
/**
|
* 通道号
|
*/
|
@Column(name = "channel_num")
|
private String channelNum;
|
|
/**
|
* 清洁度
|
*/
|
@Column(name = "clean_liness")
|
private String cleanLiness;
|
|
/**
|
* 设备编号
|
*/
|
@Column(name = "device_code")
|
private String deviceCode;
|
|
/**
|
* 设备名称
|
*/
|
@Column(name = "device_name")
|
private String deviceName;
|
|
/**
|
* 设备状态
|
*/
|
@Column(name = "device_state")
|
private String deviceState;
|
|
/**
|
* 企业编号
|
*/
|
@Column(name = "enter_id")
|
private String enterId;
|
|
/**
|
* 风扇状态
|
*/
|
@Column(name = "fan_state")
|
private String fanState;
|
|
/**
|
* 油烟浓度
|
*/
|
@Column(name = "lampblack_value")
|
private Double lampblackValue;
|
|
/**
|
* 监测时间
|
*/
|
@Column(name = "monitor_time")
|
private Date monitorTime;
|
|
/**
|
* 生产时间
|
*/
|
@Column(name = "production_date")
|
private Date productionDate;
|
|
/**
|
* 净化器状态
|
*/
|
@Column(name = "purifier_state")
|
private String purifierState;
|
|
/**
|
* @return id
|
*/
|
public Integer getId() {
|
return id;
|
}
|
|
/**
|
* @param id
|
*/
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
/**
|
* 获取通道号
|
*
|
* @return channel_num - 通道号
|
*/
|
public String getChannelNum() {
|
return channelNum;
|
}
|
|
/**
|
* 设置通道号
|
*
|
* @param channelNum 通道号
|
*/
|
public void setChannelNum(String channelNum) {
|
this.channelNum = channelNum == null ? null : channelNum.trim();
|
}
|
|
/**
|
* 获取清洁度
|
*
|
* @return clean_liness - 清洁度
|
*/
|
public String getCleanLiness() {
|
return cleanLiness;
|
}
|
|
/**
|
* 设置清洁度
|
*
|
* @param cleanLiness 清洁度
|
*/
|
public void setCleanLiness(String cleanLiness) {
|
this.cleanLiness = cleanLiness == null ? null : cleanLiness.trim();
|
}
|
|
/**
|
* 获取设备编号
|
*
|
* @return device_code - 设备编号
|
*/
|
public String getDeviceCode() {
|
return deviceCode;
|
}
|
|
/**
|
* 设置设备编号
|
*
|
* @param deviceCode 设备编号
|
*/
|
public void setDeviceCode(String deviceCode) {
|
this.deviceCode = deviceCode == null ? null : deviceCode.trim();
|
}
|
|
/**
|
* 获取设备名称
|
*
|
* @return device_name - 设备名称
|
*/
|
public String getDeviceName() {
|
return deviceName;
|
}
|
|
/**
|
* 设置设备名称
|
*
|
* @param deviceName 设备名称
|
*/
|
public void setDeviceName(String deviceName) {
|
this.deviceName = deviceName == null ? null : deviceName.trim();
|
}
|
|
/**
|
* 获取设备状态
|
*
|
* @return device_state - 设备状态
|
*/
|
public String getDeviceState() {
|
return deviceState;
|
}
|
|
/**
|
* 设置设备状态
|
*
|
* @param deviceState 设备状态
|
*/
|
public void setDeviceState(String deviceState) {
|
this.deviceState = deviceState == null ? null : deviceState.trim();
|
}
|
|
/**
|
* 获取企业编号
|
*
|
* @return enter_id - 企业编号
|
*/
|
public String getEnterId() {
|
return enterId;
|
}
|
|
/**
|
* 设置企业编号
|
*
|
* @param enterId 企业编号
|
*/
|
public void setEnterId(String enterId) {
|
this.enterId = enterId == null ? null : enterId.trim();
|
}
|
|
/**
|
* 获取风扇状态
|
*
|
* @return fan_state - 风扇状态
|
*/
|
public String getFanState() {
|
return fanState;
|
}
|
|
/**
|
* 设置风扇状态
|
*
|
* @param fanState 风扇状态
|
*/
|
public void setFanState(String fanState) {
|
this.fanState = fanState == null ? null : fanState.trim();
|
}
|
|
/**
|
* 获取油烟浓度
|
*
|
* @return lampblack_value - 油烟浓度
|
*/
|
public Double getLampblackValue() {
|
return lampblackValue;
|
}
|
|
/**
|
* 设置油烟浓度
|
*
|
* @param lampblackValue 油烟浓度
|
*/
|
public void setLampblackValue(Double lampblackValue) {
|
this.lampblackValue = lampblackValue;
|
}
|
|
/**
|
* 获取监测时间
|
*
|
* @return monitor_time - 监测时间
|
*/
|
public Date getMonitorTime() {
|
return monitorTime;
|
}
|
|
/**
|
* 设置监测时间
|
*
|
* @param monitorTime 监测时间
|
*/
|
public void setMonitorTime(Date monitorTime) {
|
this.monitorTime = monitorTime;
|
}
|
|
/**
|
* 获取生产时间
|
*
|
* @return production_date - 生产时间
|
*/
|
public Date getProductionDate() {
|
return productionDate;
|
}
|
|
/**
|
* 设置生产时间
|
*
|
* @param productionDate 生产时间
|
*/
|
public void setProductionDate(Date productionDate) {
|
this.productionDate = productionDate;
|
}
|
|
/**
|
* 获取净化器状态
|
*
|
* @return purifier_state - 净化器状态
|
*/
|
public String getPurifierState() {
|
return purifierState;
|
}
|
|
/**
|
* 设置净化器状态
|
*
|
* @param purifierState 净化器状态
|
*/
|
public void setPurifierState(String purifierState) {
|
this.purifierState = purifierState == null ? null : purifierState.trim();
|
}
|
}
|