From 8c15c9cc0d6474ed77e313258f9b09f7f2d6366e Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期三, 17 九月 2025 17:29:47 +0800
Subject: [PATCH] 2025.9.17 1. 新增数据产品接口

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/AreaVo.kt |   56 ++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 46 insertions(+), 10 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/AreaVo.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/AreaVo.kt
index 348eedc..67dcd86 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/AreaVo.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/AreaVo.kt
@@ -1,34 +1,70 @@
 package cn.flightfeather.supervision.lightshare.vo
 
+import com.fasterxml.jackson.annotation.JsonFormat
 import com.fasterxml.jackson.annotation.JsonInclude
+import io.swagger.annotations.ApiModel
+import io.swagger.annotations.ApiModelProperty
+import java.time.LocalDateTime
 
 /**
  * 鍖哄煙鏉′欢
  */
 @JsonInclude(JsonInclude.Include.NON_NULL)
-open class AreaVo{
-    // 琛屾斂鍖哄垝
+@ApiModel("鍖哄煙鏉′欢")
+open class AreaVo {
+    @ApiModelProperty("鎬讳换鍔d")
+    var topTaskId: String? = null
+
+    @ApiModelProperty("鐪佷唤缂栫爜")
     var provincecode: String? = null
+
+    @ApiModelProperty("鐪佷唤鍚嶇О")
     var provincename: String? = null
+
+    @ApiModelProperty("鍩庡競缂栫爜")
     var citycode: String? = null
+
+    @ApiModelProperty("鍩庡競鍚嶇О")
     var cityname: String? = null
+
+    @ApiModelProperty("鍖哄幙缂栫爜")
     var districtcode: String? = null
+
+    @ApiModelProperty("鍖哄幙鍚嶇О")
     var districtname: String? = null
+
+    @ApiModelProperty("琛楅晣缂栫爜")
     var towncode: String? = null
+
+    @ApiModelProperty("琛楅晣鍚嶇О")
     var townname: String? = null
 
-    // 鏃堕棿鑼冨洿
-    var starttime: String? = null
-    var endtime: String? = null
+    @ApiModelProperty("璧峰鏃堕棿锛屾牸寮� yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    var starttime: LocalDateTime? = null
 
-    // 鍦烘櫙鍚嶇О
+    @ApiModelProperty("缁撴潫鏃堕棿锛屾牸寮� yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    var endtime: LocalDateTime? = null
+
+    @ApiModelProperty("鍦烘櫙涓婚敭id")
+    var sceneId: String? = null
+
+    @ApiModelProperty("鍦烘櫙鍚嶇О")
     var sceneName: String? = null
-    // 鍦烘櫙绫诲瀷
+
+    @ApiModelProperty("鍦烘櫙绫诲瀷id")
     var scensetypeid: String? = null
 
-    // 鏄惁涓婄嚎
+    @ApiModelProperty("鏄惁涓婄嚎")
     var online: Boolean? = null
 
-    // 涓绘暟鎹簮锛�1锛氫互椋炵窘鐜绯荤粺涓殑鐢ㄦ埛涓轰富浣擄紱2锛氫互椋炵窘鐩戠绯荤粺涓殑鐢ㄦ埛涓轰富浣�
-    var sourceType:Int = 1
+    @ApiModelProperty("涓绘暟鎹簮", allowableValues = "1锛氫互椋炵窘鐜绯荤粺涓殑鐢ㄦ埛涓轰富浣擄紱2锛氫互椋炵窘鐩戠绯荤粺涓殑鐢ㄦ埛涓轰富浣�")
+    var sourceType: Int = 1
+
+    @ApiModelProperty("鏌ヨ鎺掑簭", allowableValues = "asc锛氭搴�, desc锛氬�掑簭")
+    var sort: String? = "asc"
+
+    @ApiModelProperty("鎺掑簭瀛楁", allowableValues = "pro: 鎸夌収闂鏁版帓搴忥紝changePer锛氭寜鐓ф暣鏀圭巼鎺掑簭")
+    var sortBy: String? = null
 }
\ No newline at end of file

--
Gitblit v1.9.3