add dao testing cases
This commit is contained in:
8
modules/auth/dto/role.go
Normal file
8
modules/auth/dto/role.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package dto
|
||||
|
||||
type RoleCreateRequest struct {
|
||||
UUID string `json:"alias,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
ParentID uint `json:"parent_id,omitempty"`
|
||||
DefaultRouter string `json:"default_router,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user