智慧食堂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
917 B

  1. package md
  2. import "applet/app/db/model"
  3. type EnterpriseDetailRespV2 struct {
  4. Enterprise model.Enterprise `json:"enterprise"`
  5. GradeList []GradeListStructV2 `json:"grade_list"`
  6. }
  7. type GradeListStructV2 struct {
  8. Grade model.Grade `json:"grade"`
  9. ClassList []model.Class `json:"class_list"`
  10. }
  11. type SelfSupportForSchoolUpdateReq struct {
  12. Id int `json:"id" binding:"required" label:"企业id"`
  13. Name string `json:"name" binding:"required" label:"名称"`
  14. CompanyId int `json:"company_id" binding:"required" label:"所属公司id"`
  15. Memo string `json:"memo" label:"备注"`
  16. GradeList []struct {
  17. Id int `json:"id" label:"年级id"`
  18. Name string `json:"name" label:"名称"`
  19. ClassList []struct {
  20. Id int `json:"id" label:"班级id"`
  21. Name string `json:"name" label:"名称"`
  22. } `json:"class_list" label:"班级"`
  23. } `json:"grade_list" label:"年级"`
  24. }