refactor-location #134

Closed
trunglam wants to merge 270 commits from refactor-location into master
1 changed files with 9 additions and 7 deletions
Showing only changes of commit 0d8e3969db - Show all commits

View File

@ -12,14 +12,16 @@ type DetailRoleRequest struct {
} }
type CreateRoleRequest struct { type CreateRoleRequest struct {
Name string `json:"name"` Name string `json:"name"`
Code string `json:"code"` Code string `json:"code"`
Type string `json:"type"` Type string `json:"type"`
Permissions []string `json:"permissions"`
} }
type UpdateRoleRequest struct { type UpdateRoleRequest struct {
ID string `json:"_id"` ID string `json:"_id"`
Name string `json:"name"` Name string `json:"name"`
Code string `json:"code"` Code string `json:"code"`
Type string `json:"type"` Type string `json:"type"`
Permissions []string `json:"permissions"`
} }