forked from dyf/fys-Multi-tenant
不同的一级目录下的分组应当可以重名
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user