complete role crud
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
package dto
|
||||
|
||||
type RoleCreateRequest struct {
|
||||
UUID string `json:"alias,omitempty"`
|
||||
type RoleRequestFilter struct {
|
||||
Name *string `form:"name"`
|
||||
ParentID *uint `form:"parent_id"`
|
||||
DefaultRouter *string `form:"default_router"`
|
||||
}
|
||||
|
||||
type RoleRequestForm struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
ParentID uint `json:"parent_id,omitempty"`
|
||||
DefaultRouter string `json:"default_router,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user