1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package class
- import (
- "git.sxidc.com/go-framework/baize/framework/core/api/request"
- )
- type (
- CreateClassJsonBody struct {
- Name string `json:"name" binding:"required" assign:"toField:Name"`
- StudentNum int `json:"studentNum" binding:"required" assign:"toField:StudentNum"`
- }
- DeleteClassQueryParams struct {
- request.IDQueryParam
- }
- UpdateClassJsonBody struct {
- request.IDJsonBody
- Name string `json:"name" assign:"toField:Name"`
- StudentNum int `json:"studentNum" assign:"toField:StudentNum"`
- }
- GetClassesQueryParams struct {
- request.BaseQueryParams
- Name string `form:"name" assign:"toField:Name"`
- StudentNum int `form:"studentNum" assign:"toField:StudentNum"`
- }
- GetClassByIDQueryParams struct {
- request.IDQueryParam
- }
- UpdateStudentsOfClassJsonBody struct {
- request.IDJsonBody
- StudentIDs []string `json:"studentIds" assign:"toField:StudentIDs"`
- }
- QueryStudentsOfClassQueryParams struct {
- request.BaseQueryWithIDParams
- }
- )
|