智慧食堂
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.7 KiB

  1. package md
  2. type SaveCentralKitchenForSchoolUserIdentityReq struct {
  3. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  4. IsTeacher bool `json:"is_teacher" label:"是否教师"`
  5. Name string `json:"name" binding:"required" label:"姓名"`
  6. IdNo string `json:"id_no" label:"身份证号码"`
  7. GradeId int `json:"grade_id" label:"年级id"`
  8. ClassId int `json:"class_id" label:"班级id"`
  9. }
  10. type SaveSelfSupportForSchoolUserIdentityReq struct {
  11. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  12. Kind int `json:"kind" binding:"required" label:"类型(1:普通用户 2:工作人员)"`
  13. IsTeacher bool `json:"is_teacher" label:"是否教师"`
  14. Name string `json:"name" binding:"required" label:"姓名"`
  15. IdNo string `json:"id_no" binding:"required" label:"身份证号码"`
  16. GradeId int `json:"grade_id" label:"年级id"`
  17. ClassId int `json:"class_id" label:"班级id"`
  18. }
  19. type UpdateCentralKitchenForSchoolUserIdentityReq struct {
  20. IdNo string `json:"id_no" label:"身份证号"`
  21. Name string `json:"name" label:"姓名"`
  22. GradeId int `json:"grade_id" label:"年级id"`
  23. ClassId int `json:"class_id" label:"班级"`
  24. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  25. }
  26. type UpdateSelfSupportForSchoolUserIdentityReq struct {
  27. IdNo string `json:"id_no" label:"身份证号"`
  28. Name string `json:"name" label:"姓名"`
  29. GradeId int `json:"grade_id" label:"年级id"`
  30. ClassId int `json:"class_id" label:"班级"`
  31. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  32. }