package md import "applet/app/db/model" type EnterpriseDetailRespV2 struct { Enterprise model.Enterprise `json:"enterprise"` GradeList []GradeListStructV2 `json:"grade_list"` } type GradeListStructV2 struct { Grade model.Grade `json:"grade"` ClassList []model.Class `json:"class_list"` } type SelfSupportForSchoolUpdateReq struct { Id int `json:"id" binding:"required" label:"企业id"` Name string `json:"name" binding:"required" label:"名称"` CompanyId int `json:"company_id" binding:"required" label:"所属公司id"` Memo string `json:"memo" label:"备注"` GradeList []struct { Id int `json:"id" label:"年级id"` Name string `json:"name" label:"名称"` ClassList []struct { Id int `json:"id" label:"班级id"` Name string `json:"name" label:"名称"` } `json:"class_list" label:"班级"` } `json:"grade_list" label:"年级"` }