fix(系统设置): 组织名称与描述添加字符限制

--bug=1035267 --user=宋昌昌 【系统设置】系统-组织与项目-组织-更新名称/描述-内容较长-提示报错了 https://www.tapd.cn/55049933/s/1462547
This commit is contained in:
song-cc-rock 2024-02-19 19:43:55 +08:00 committed by 刘瑞斌
parent d6404ac984
commit d9ad727c3b
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ public class OrganizationEditRequest implements Serializable {
@Size(min = 1, max = 255, message = "{organization.name.length_range}", groups = {Created.class, Updated.class}) @Size(min = 1, max = 255, message = "{organization.name.length_range}", groups = {Created.class, Updated.class})
private String name; private String name;
@Schema(description = "描述") @Schema(description = "描述")
@Size(max = 500, groups = {Created.class, Updated.class})
private String description; private String description;
@Schema(description = "成员ID集合") @Schema(description = "成员ID集合")