ch some
This commit is contained in:
1 parent
28509eb4ca
commit
d1a6fcaadc
102 files changed
+2089
-1957
No files matched your search
@@ -19,9 +19,10 @@ type LocalizedText struct {
|
||||
}
|
||||
|
||||
type ProfileRoleDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
Id int64 `json:"id"`
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
GuardName string `json:"guardName"`
|
||||
}
|
||||
|
||||
type ProfileBranchDTO struct {
|
||||
@@ -31,9 +32,16 @@ type ProfileBranchDTO struct {
|
||||
}
|
||||
|
||||
type ProfilePermissionDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
Id int64 `json:"id"`
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
GuardName string `json:"guardName"`
|
||||
Module string `json:"module"`
|
||||
}
|
||||
|
||||
type ProfileModuleDTO struct {
|
||||
Module string `json:"module"`
|
||||
Permissions []ProfilePermissionDTO `json:"permissions"`
|
||||
}
|
||||
|
||||
type UserProfileDTO struct {
|
||||
@@ -45,6 +53,7 @@ type UserProfileDTO struct {
|
||||
Avatar string `json:"avatar"`
|
||||
Role *ProfileRoleDTO `json:"role"`
|
||||
Branches []ProfileBranchDTO `json:"branches"`
|
||||
Modules []ProfileModuleDTO `json:"modules"`
|
||||
Permissions []ProfilePermissionDTO `json:"permissions"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user