智慧食堂-队列消费项目
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.
 
 
 

52 lines
2.3 KiB

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