From c03e1d823eb86c856ecbe40d8d2180ffce7c7b0f Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 14 十一月 2025 17:45:39 +0800
Subject: [PATCH] 2025.11.14 新增值域的增删改接口
---
src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Province.kt | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Province.kt b/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Province.kt
index 3a342c1..826c38f 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Province.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Province.kt
@@ -4,18 +4,24 @@
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_province")
@JsonInclude(JsonInclude.Include.NON_NULL)
+@ApiModel(value = "Province")
class Province {
@Id
@Column(name = "P_ProvinceID")
- var provinceid: Int? = null
+ @ApiModelProperty(value = "P_ProvinceID")
+ var provinceid: Int? = null
@Column(name = "P_ProvinceCode")
- var provincecode: String? = null
+ @ApiModelProperty(value = "P_ProvinceCode")
+ var provincecode: String? = null
@Column(name = "P_ProvinceName")
- var provincename: String? = null
+ @ApiModelProperty(value = "P_ProvinceName")
+ var provincename: String? = null
}
\ No newline at end of file
--
Gitblit v1.9.3