|
|
@@ -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;
|
|
|
}
|
|
|
}
|