| 1234567891011121314151617181920212223242526272829303132 |
- package role
- import "git.sxidc.com/go-framework/baize/framework/core/api/request"
- type (
- CreateRoleJsonBody struct {
- Name string `json:"name" binding:"required" assign:"toField:Name"`
- Description string `json:"description" assign:"toField:Description"`
- request.CreateUserIDJsonBody
- }
- DeleteRoleQueryParams struct {
- request.IDQueryParam
- }
- UpdateRoleJsonBody struct {
- request.IDJsonBody
- Name string `json:"name" binding:"required" assign:"toField:Name"`
- Description string `json:"description" assign:"toField:Description"`
- request.UpdateUserIDJsonBody
- }
- GetRolesQueryParams struct {
- request.BaseQueryParams
- Name string `form:"name" assign:"toField:Name"`
- Description string `form:"description" assign:"toField:Description"`
- }
- GetRoleQueryParams struct {
- request.IDQueryParam
- }
- )
|