智慧食堂
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_user_identity.go 2.3 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. GradeId int `json:"grade_id" label:"年级id"`
  24. ClassId int `json:"class_id" label:"班级id"`
  25. }
  26. type UpdateCentralKitchenForSchoolUserIdentityReq 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. }
  33. type UpdateSelfSupportForSchoolUserIdentityReq 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 UpdateNursingHomeUserIdentityReq struct {
  41. IdNo string `json:"id_no" label:"身份证号"`
  42. Name string `json:"name" label:"姓名"`
  43. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  44. }