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

21 lines
1.0 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" binding:"required" 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. }