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.

37 lines
892 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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;
}