From c37148ffbb8f19db03b6bfa683cbac3b5888de03 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 22 八月 2024 09:00:04 +0800
Subject: [PATCH] 租户数据源

---
 iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantSaveReqVO.java |    4 ++++
 iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantRespVO.java    |    5 +++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantRespVO.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantRespVO.java
index e3401a6..3718416 100644
--- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantRespVO.java
+++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantRespVO.java
@@ -8,6 +8,7 @@
 import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 
+import javax.validation.constraints.NotNull;
 import java.time.LocalDateTime;
 
 @Schema(description = "管理后台 - 租户 Response VO")
@@ -42,6 +43,10 @@
     @Schema(description = "租户套餐编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
     private Long packageId;
 
+    @Schema(description = "数据源", example = "1024")
+    @NotNull(message = "数据源")
+    private Long dataSourceConfigId;
+
     @Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED)
     private LocalDateTime expireTime;
 
diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantSaveReqVO.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantSaveReqVO.java
index 4d32874..4283e7e 100644
--- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantSaveReqVO.java
+++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/tenant/TenantSaveReqVO.java
@@ -41,6 +41,10 @@
     @NotNull(message = "租户套餐编号不能为空")
     private Long packageId;
 
+    @Schema(description = "数据源", example = "1024")
+    @NotNull(message = "数据源")
+    private Long dataSourceConfigId;
+
     @Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED)
     @NotNull(message = "过期时间不能为空")
     private LocalDateTime expireTime;

--
Gitblit v1.9.3