package family import ( "git.sxidc.com/go-framework/baize/framework/core/api/request" ) type ( CreateFamilyJsonBody struct { Father string `json:"father" binding:"required" assign:"toField:Father"` Mother string `json:"mother" binding:"required" assign:"toField:Mother"` } DeleteFamilyQueryParams struct { request.IDQueryParam } UpdateFamilyJsonBody struct { request.IDJsonBody Father string `json:"father" assign:"toField:Father"` Mother string `json:"mother" assign:"toField:Mother"` } GetFamiliesQueryParams struct { request.BaseQueryParams Father string `form:"father" assign:"toField:Father"` Mother string `form:"mother" assign:"toField:Mother"` } GetFamilyByIDQueryParams struct { request.IDQueryParam } UpdateStudentOfFamilyJsonBody struct { request.IDJsonBody StudentID string `json:"studentId" assign:"toField:StudentID"` } QueryStudentOfFamilyQueryParams struct { request.IDQueryParam } QueryFamilyWithStudentQueryParams struct { request.BaseQueryParams Father string `form:"father" assign:"toField:Father"` Mother string `form:"mother" assign:"toField:Mother"` } )