mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 01:15:54 +08:00
增加时序数据库TDengine存储设备日志和设备监测数据
This commit is contained in:
@@ -5,9 +5,11 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 设备日志对象 iot_device_log
|
||||
*
|
||||
*
|
||||
* @author kerwincui
|
||||
* @date 2022-01-13
|
||||
*/
|
||||
@@ -15,6 +17,8 @@ public class DeviceLog extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Excel(name = "时间戳")
|
||||
private Date ts;
|
||||
/** 设备日志ID */
|
||||
private Long logId;
|
||||
|
||||
@@ -46,6 +50,15 @@ public class DeviceLog extends BaseEntity
|
||||
@Excel(name = "是否监测数据", readConverterExp = "1==是,0=否")
|
||||
private Integer isMonitor;
|
||||
|
||||
|
||||
public Date getTs() {
|
||||
return ts;
|
||||
}
|
||||
|
||||
public void setTs(Date ts) {
|
||||
this.ts = ts;
|
||||
}
|
||||
|
||||
public String getSerialNumber() {
|
||||
return serialNumber;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user