유저 그룹 계층형 보기
This commit is contained in:
1 parent
1c6fb4ef83
commit
73b0453ad4
9 files changed
+705
-394
No files matched your search
@@ -24,6 +24,13 @@ type UserGroup struct {
|
||||
Members []User `gorm:"-" json:"members,omitempty"`
|
||||
}
|
||||
|
||||
type GroupCreateRequest struct {
|
||||
Name string `json:"name"`
|
||||
ParentID *string `json:"parentId"`
|
||||
Description string `json:"description"`
|
||||
UnitType string `json:"unitType"`
|
||||
}
|
||||
|
||||
type GroupRole struct {
|
||||
TenantID string `json:"tenantId"`
|
||||
TenantName string `json:"tenantName"`
|
||||
|
||||
Reference in new issue
Block a user