From 5a003a42d2b34e8362910ac1d3e5a8866768e5fe Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期六, 20 十二月 2025 16:50:28 +0800
Subject: [PATCH] 2025.12.20 巡查任务统计相关功能修改
---
src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Town.kt | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Town.kt b/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Town.kt
index d62fc55..238514b 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Town.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Town.kt
@@ -4,29 +4,39 @@
import javax.persistence.Column
import javax.persistence.Id
import javax.persistence.Table
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
@Table(name = "sm_t_town")
@JsonInclude(JsonInclude.Include.NON_NULL)
+@ApiModel(value = "Town")
class Town {
@Id
@Column(name = "T_TownID")
+ @ApiModelProperty(value = "琛楅晣id")
var townid: Int? = null
@Column(name = "D_DistrictID")
+ @ApiModelProperty(value = "鎵�灞炲尯鍘縤d")
var districtid: Int? = null
@Column(name = "C_CityID")
+ @ApiModelProperty(value = "鎵�灞炲煄甯俰d")
var cityid: Int? = null
@Column(name = "P_ProvinceID")
+ @ApiModelProperty(value = "鎵�灞炵渷浠絠d")
var provinceid: Int? = null
@Column(name = "T_TownCode")
+ @ApiModelProperty(value = "琛楅晣浠g爜")
var towncode: String? = null
@Column(name = "T_TownName")
+ @ApiModelProperty(value = "琛楅晣鍚嶇О")
var townname: String? = null
@Column(name = "T_Station")
+ @ApiModelProperty(value = "T_Station")
var station: String? = null
}
\ No newline at end of file
--
Gitblit v1.9.3