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