From 10edab49cfd859ea4928c969da658b4a548f5b71 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 08 一月 2025 18:55:24 +0800 Subject: [PATCH] getAlarmAndSuggestPage问题修复 --- iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/packages/TenantPackageSaveReqVO.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/packages/TenantPackageSaveReqVO.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/packages/TenantPackageSaveReqVO.java index ebdef5c..2691ed5 100644 --- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/packages/TenantPackageSaveReqVO.java +++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/vo/packages/TenantPackageSaveReqVO.java @@ -7,6 +7,7 @@ import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; +import java.util.List; import java.util.Set; @Schema(description = "管理后台 - 租户套餐创建/修改 Request VO") @@ -20,6 +21,17 @@ @NotEmpty(message = "套餐名不能为空") private String name; + @Schema(description = "套餐图标", example = "http://localhost/xxx") + @NotEmpty(message = "套餐图标不能为空") + private String icon; + + @Schema(description = "套餐标签", example = "模型管理") + private List<String> labels; + + @Schema(description = "描述", example = "好") + @NotNull(message = "描述不能为空") + private String description; + @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") @NotNull(message = "状态不能为空") @InEnum(value = CommonStatusEnum.class, message = "状态必须是 {value}") -- Gitblit v1.9.3