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

32 lines
1.3 KiB

  1. package md
  2. type UserListReq struct {
  3. Limit int `json:"limit" binding:"required"`
  4. Page int `json:"page" binding:"required"`
  5. Nickname string `json:"nickname" label:"支付宝昵称"`
  6. Phone string `json:"phone" label:"手机号"`
  7. CreateTimeStart string `json:"create_time_start" label:"创建时间-起始"`
  8. CreateTimeEnd string `json:"create_time_end" label:"创建时间-截止"`
  9. }
  10. type UserListResp struct {
  11. List []UserList `json:"list"`
  12. Total int64 `json:"total"`
  13. }
  14. type UserList struct {
  15. Id int `json:"id" label:"id"`
  16. Nickname string `json:"nickname" label:"支付宝昵称"`
  17. Phone string `json:"phone" label:"联系电话"`
  18. Avatar string `json:"avatar" label:"头像"`
  19. CreateAt string `json:"create_at" label:"创建时间"`
  20. BindUserIdentity []struct {
  21. Id int `json:"id" label:"id"`
  22. IdNo string `json:"id_no" label:"身份证号"`
  23. CertType int `json:"cert_type" label:"证件类型"`
  24. Name string `json:"name" label:"姓名"`
  25. EnterpriseName string `json:"enterprise_name" label:"企业名"`
  26. EnterpriseKind int32 `json:"enterprise_kind" label:"企业类型"`
  27. Kind int `json:"kind" label:"身份类型"`
  28. } `json:"bind_user_identity" label:"绑定身份"`
  29. }