package family import ( "git.sxidc.com/go-framework/baize/framework/binding/request" ) type ( CreateJsonBody struct { Father string `json:"father" binding:"required" assign:"toField:Father"` Mother string `json:"mother" binding:"required" assign:"toField:Mother"` } DeleteQueryParams struct { request.IDQueryParam } UpdateJsonBody struct { request.IDJsonBody Father string `json:"father" assign:"toField:Father"` Mother string `json:"mother" assign:"toField:Mother"` } QueryQueryParams struct { request.BaseQueryParams Father string `form:"father" assign:"toField:Father"` Mother string `form:"mother" assign:"toField:Mother"` } GetByIDQueryParams 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"` } )