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

65 lines
2.9 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 SaveFactoryUserIdentityReq struct {
  28. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  29. Name string `json:"name" binding:"required" label:"姓名"`
  30. IdNo string `json:"id_no" binding:"required" label:"身份证号码"`
  31. CertType int `json:"cert_type" label:"证件类型(1:身份证 2:学工号 3:护照)"`
  32. }
  33. type UpdateCentralKitchenForSchoolUserIdentityReq struct {
  34. IdNo string `json:"id_no" label:"身份证号"`
  35. Name string `json:"name" label:"姓名"`
  36. GradeId int `json:"grade_id" label:"年级id"`
  37. ClassId int `json:"class_id" label:"班级"`
  38. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  39. }
  40. type UpdateSelfSupportForSchoolUserIdentityReq struct {
  41. IdNo string `json:"id_no" label:"身份证号"`
  42. Name string `json:"name" label:"姓名"`
  43. GradeId int `json:"grade_id" label:"年级id"`
  44. ClassId int `json:"class_id" label:"班级"`
  45. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  46. }
  47. type UpdateFactoryUserIdentityReq struct {
  48. IdNo string `json:"id_no" label:"证件号证号"`
  49. Name string `json:"name" label:"姓名"`
  50. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  51. }
  52. type UpdateNursingHomeUserIdentityReq struct {
  53. IdNo string `json:"id_no" label:"身份证号"`
  54. Name string `json:"name" label:"姓名"`
  55. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  56. }