0
0

不同的一级目录下的分组应当可以重名

This commit is contained in:
2025-09-29 17:53:26 +08:00
parent 6cec86bafe
commit d9b69ddc4e
3 changed files with 28 additions and 6 deletions

View File

@ -31,7 +31,7 @@ public class DeviceGroupBo extends BaseEntity {
* 分组名称
*/
@Schema(title = "分组名称")
@NotBlank(message = "分组名称不能为空", groups = { AddGroup.class, EditGroup.class })
@NotBlank(message = "分组名称不能为空", groups = {AddGroup.class, EditGroup.class})
private String groupName;
/**
@ -43,6 +43,7 @@ public class DeviceGroupBo extends BaseEntity {
/**
* 父分组ID
* parent_id
*/
@Schema(title = "父分组ID")
private Long parentId;