123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- 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"`
- }
- )
|