智慧食堂
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.

md_enterprise_v2.go 1.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
12345678910111213141516171819202122232425262728293031
  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. Pvd int32 `json:"pvd" label:"场景"`
  15. Kind int32 `json:"kind" binding:"required" label:"种类(1:央厨-学校 2:央厨-工厂 3:自营-学校 4:自营-工厂 5:养老院)"`
  16. CompanyId int `json:"company_id" binding:"required" label:"所属公司id"`
  17. Memo string `json:"memo" label:"备注"`
  18. State int32 `json:"state" label:"状态"`
  19. GradeList []struct {
  20. Id int `json:"id" label:"年级id"`
  21. Name string `json:"name" label:"名称"`
  22. ClassList []struct {
  23. Id int `json:"id" label:"班级id"`
  24. Name string `json:"name" label:"名称"`
  25. } `json:"class_list" label:"班级"`
  26. } `json:"grade_list" label:"年级"`
  27. }