瀏覽代碼

根据事件编码查询设备

李进 1 年之前
父節點
當前提交
a63935cc81
共有 1 個文件被更改,包括 29 次插入0 次删除
  1. 29 0
      device-api/src/main/java/com/xy/dto/DeviceInfoDto.java

+ 29 - 0
device-api/src/main/java/com/xy/dto/DeviceInfoDto.java

@@ -1110,4 +1110,33 @@ public class DeviceInfoDto {
         private Integer num;
     }
 
+    @Data
+    @Accessors(chain = true)
+    public static class MyDeviceInfo {
+        @ApiModelProperty("商户ID")
+        private Long mercId;
+
+        @ApiModelProperty("设备id")
+        private Long deviceId;
+
+        @ApiModelProperty("设备名称")
+        private String deviceName;
+
+        @ApiModelProperty("设备类型")
+        private Integer deviceType;
+
+        @ApiModelProperty("算法类型")
+        private Long algorithmId;
+
+
+    }
+
+    @Data
+    @Accessors(chain = true)
+    public static class EventListVo extends Vo {
+
+        @ApiModelProperty("事件发生次数")
+        private Integer size;
+
+    }
 }