Преглед на файлове

提交地磅计量初始化

chenxiaofei преди 4 месеца
родител
ревизия
683a4de14c
променени са 1 файла, в които са добавени 16 реда и са изтрити 6 реда
  1. 16 6
      iot-platform-manager/src/main/java/com/platform/api/response/LicensePlateValidateResponse.java

+ 16 - 6
iot-platform-manager/src/main/java/com/platform/api/response/LicensePlateValidateResponse.java

@@ -1,6 +1,7 @@
 package com.platform.api.response;
 
 
+import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 
 /**
@@ -11,48 +12,57 @@ import lombok.Data;
  */
 
 @Data
+@Schema(description = "车牌验证通用返回模型")
 public class LicensePlateValidateResponse {
     /**
-     * 状态
+     * 返回状态
      */
+    @Schema(description = "返回状态")
     private Boolean status;
 
     /**
-     * 编码
+     * 返回状态值
      */
+    @Schema(description = "返回描述")
     private Integer code;
 
     /**
-     * 信息
+     * 返回数据集
      */
+    @Schema(description = "返回数据集")
     private String message;
 
     /**
      * 数据
      */
+    @Schema(description = "数据")
     private Data data;
 
     @lombok.Data
     public static class Data {
 
         /**
-         * 时间
+         * 返回处理时间
          */
+        @Schema(description = "返回处理时间")
         private Long timestamp;
 
         /**
-         * 内容1
+         * 播报内容
          */
+        @Schema(description = "播报内容")
         private String screen_message;
 
         /**
-         * 内容2
+         * LED显示内容
          */
+        @Schema(description = "LED显示内容")
         private String voice_message;
 
         /**
          * 警告
          */
+        @Schema(description = "用于给出警告信息,提示当前环境为测试服。")
         private String warning;
     }
 }