package cn.flightfeather.supervision.domain.ds3.entity;
|
|
import java.util.Date;
|
import javax.persistence.*;
|
|
@Table(name = "abnormal_data")
|
public class FumeExceptionData {
|
/**
|
* 序号
|
*/
|
@Id
|
private Integer id;
|
|
/**
|
* 设备编号
|
*/
|
@Column(name = "dev_id")
|
private String devId;
|
|
private String exception;
|
|
/**
|
* 异常类型
|
*/
|
@Column(name = "exception_type")
|
private String exceptionType;
|
|
/**
|
* 地区
|
*/
|
private String region;
|
|
/**
|
* 开始时间
|
*/
|
@Column(name = "begin_time")
|
private Date beginTime;
|
|
/**
|
* 结束
|
*/
|
@Column(name = "end_time")
|
private Date endTime;
|
|
/**
|
* 获取序号
|
*
|
* @return id - 序号
|
*/
|
public Integer getId() {
|
return id;
|
}
|
|
/**
|
* 设置序号
|
*
|
* @param id 序号
|
*/
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
/**
|
* 获取设备编号
|
*
|
* @return dev_id - 设备编号
|
*/
|
public String getDevId() {
|
return devId;
|
}
|
|
/**
|
* 设置设备编号
|
*
|
* @param devId 设备编号
|
*/
|
public void setDevId(String devId) {
|
this.devId = devId == null ? null : devId.trim();
|
}
|
|
/**
|
* @return exception
|
*/
|
public String getException() {
|
return exception;
|
}
|
|
/**
|
* @param exception
|
*/
|
public void setException(String exception) {
|
this.exception = exception == null ? null : exception.trim();
|
}
|
|
/**
|
* 获取异常类型
|
*
|
* @return exception_type - 异常类型
|
*/
|
public String getExceptionType() {
|
return exceptionType;
|
}
|
|
/**
|
* 设置异常类型
|
*
|
* @param exceptionType 异常类型
|
*/
|
public void setExceptionType(String exceptionType) {
|
this.exceptionType = exceptionType == null ? null : exceptionType.trim();
|
}
|
|
/**
|
* 获取地区
|
*
|
* @return region - 地区
|
*/
|
public String getRegion() {
|
return region;
|
}
|
|
/**
|
* 设置地区
|
*
|
* @param region 地区
|
*/
|
public void setRegion(String region) {
|
this.region = region == null ? null : region.trim();
|
}
|
|
/**
|
* 获取开始时间
|
*
|
* @return begin_time - 开始时间
|
*/
|
public Date getBeginTime() {
|
return beginTime;
|
}
|
|
/**
|
* 设置开始时间
|
*
|
* @param beginTime 开始时间
|
*/
|
public void setBeginTime(Date beginTime) {
|
this.beginTime = beginTime;
|
}
|
|
/**
|
* 获取结束
|
*
|
* @return end_time - 结束
|
*/
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
/**
|
* 设置结束
|
*
|
* @param endTime 结束
|
*/
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
}
|