2025-03-21 17:47:51 +08:00
|
|
|
package com.ruoyi.iot.domain;
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备传来的数据
|
|
|
|
* @author wjh
|
|
|
|
* 2024/3/20
|
|
|
|
*/
|
|
|
|
@Data
|
|
|
|
public class IotDeviceInfo {
|
|
|
|
|
|
|
|
// mac
|
|
|
|
private String mac;
|
|
|
|
|
|
|
|
// 时间
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
private LocalDateTime at;
|
|
|
|
|
2025-04-19 16:04:47 +08:00
|
|
|
// 版本号
|
|
|
|
private String ver;
|
|
|
|
|
2025-03-21 17:47:51 +08:00
|
|
|
// 系统信息
|
|
|
|
private IotDeviceSysInfo sys;
|
|
|
|
|
|
|
|
}
|