package student import ( "git.sxidc.com/go-framework/baize/framework/core/api/request" ) type ( CreateStudentJsonBody struct { Name string `json:"name" binding:"required" assign:"toField:Name"` } DeleteStudentQueryParams struct { request.IDQueryParam } UpdateStudentJsonBody struct { request.IDJsonBody Name string `json:"name" assign:"toField:Name"` } GetStudentsQueryParams struct { request.BaseQueryParams Name string `form:"name" assign:"toField:Name"` } GetStudentByIDQueryParams struct { request.IDQueryParam } UpdateFamilyOfStudentJsonBody struct { request.IDJsonBody FamilyID string `json:"familyId" assign:"toField:FamilyID"` } QueryFamilyOfStudentQueryParams struct { request.IDQueryParam } QueryStudentWithFamilyQueryParams struct { request.BaseQueryParams Name string `form:"name" assign:"toField:Name"` } UpdateIdentitiesOfStudentJsonBody struct { request.IDJsonBody IdentityIDs []string `json:"identityIds" assign:"toField:IdentityIDs"` } QueryIdentitiesOfStudentQueryParams struct { request.BaseQueryWithIDParams } UpdateHobbiesOfStudentJsonBody struct { request.IDJsonBody HobbyIDs []string `json:"hobbyIds" assign:"toField:HobbyIDs"` } QueryHobbiesOfStudentQueryParams struct { request.BaseQueryWithIDParams } UpdateClassOfStudentJsonBody struct { request.IDJsonBody ClassID string `json:"classId" assign:"toField:ClassID"` } QueryClassOfStudentQueryParams struct { request.BaseQueryWithIDParams } QueryStudentWithClassQueryParams struct { request.BaseQueryParams Name string `form:"name" assign:"toField:Name"` } )