You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
package com.data.emqx.domain;
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @author licd
|
|
|
|
|
|
* @className DeviceHeart
|
|
|
|
|
|
* @description 设备心跳数据
|
|
|
|
|
|
* @date 2026/03/23
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
public class DeviceHeart implements Serializable {
|
|
|
|
|
|
|
|
|
|
|
|
//主键
|
|
|
|
|
|
private String id;
|
|
|
|
|
|
//设备ID号
|
|
|
|
|
|
private String deviceId;
|
|
|
|
|
|
//系统电压
|
|
|
|
|
|
private Double sysVol;
|
|
|
|
|
|
//网络信号强度
|
|
|
|
|
|
private Integer netRSSI;
|
|
|
|
|
|
//发送时间(UTC0时间戳)
|
|
|
|
|
|
private Long sendTime;
|
|
|
|
|
|
//是否已处理:1:已处理
|
|
|
|
|
|
private int flag;
|
|
|
|
|
|
//创建时间
|
|
|
|
|
|
@JsonFormat(locale = "zh",timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
|
private Date createTime;
|
|
|
|
|
|
//更新时间
|
|
|
|
|
|
@JsonFormat(locale = "zh",timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
|
private Date updateTime;
|
|
|
|
|
|
}
|