feat: init iot-util project with OneNET API integration

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 11:09:41 +08:00
co-authored by Claude Opus 4.7
commit 69e13f504f
36 changed files with 2610 additions and 0 deletions
@@ -0,0 +1,30 @@
package com.yixiong.iot.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
* 设备事件记录单条数据
*/
@Data
public class DeviceEventItem {
/**
* 事件类型
* 1-信息;2-告警;3-故障
*/
@JsonProperty("event_type")
private Integer eventType;
/** 设备事件上报时间戳(毫秒) */
private Long time;
/** 事件功能点标识 */
private String identifier;
/** 事件名称 */
private String name;
/** 事件值(JSON 字符串) */
private String value;
}