WIP: user group additions

This commit is contained in:
Daniel Lee
2017-05-22 10:33:17 +02:00
parent 53d11d50fc
commit fff7b706d6
5 changed files with 38 additions and 8 deletions

View File

@@ -45,6 +45,11 @@ type GetUserGroupByIdQuery struct {
Result *UserGroup
}
type GetUserGroupsByUserQuery struct {
UserId int64 `json:"userId"`
Result []*UserGroup `json:"userGroups"`
}
type SearchUserGroupsQuery struct {
Query string
Name string