|
|
@@ -0,0 +1,34 @@
|
|
|
+package com.github.microservice.models.onLine;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
+import com.github.microservice.models.hxz.base.IotBaseResult;
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author TRX
|
|
|
+ * @date 2025/2/21
|
|
|
+ */
|
|
|
+@Data
|
|
|
+public class DeviceOnLineResult extends IotBaseResult {
|
|
|
+
|
|
|
+ @Schema(description = "类型")
|
|
|
+ private String operator;
|
|
|
+
|
|
|
+ @JsonProperty("deviceId")
|
|
|
+ @Schema(description = "设备ID")
|
|
|
+ private String deviceId;
|
|
|
+
|
|
|
+ @JsonProperty("gateWayId")
|
|
|
+ @Schema(description = "网关ID")
|
|
|
+ private String gateWayId;
|
|
|
+
|
|
|
+ @Schema(description = "mqtt推送生成的业务数据ID")
|
|
|
+ private String mqttDataId;
|
|
|
+
|
|
|
+ @Schema(description = "时间,格式:2025-02-21 10:21:41")
|
|
|
+ private String time;
|
|
|
+
|
|
|
+ @Schema(description = "信息")
|
|
|
+ private Object info;
|
|
|
+}
|