user.go 738 B

123456789101112131415161718192021
  1. package account
  2. // User for sobot userinfo
  3. type User struct {
  4. Mid int64 `json:"mid"`
  5. UName string `json:"uname"`
  6. Tel string `json:"tel"`
  7. EMail string `json:"email"`
  8. Status int32 `json:"status"`
  9. Formal int32 `json:"formal"`
  10. Moral int32 `json:"moral"`
  11. Level int32 `json:"level"`
  12. Exp string `json:"exp"`
  13. Coin float64 `json:"coin"`
  14. BCoin float64 `json:"bcoin"`
  15. Medal string `json:"medal"`
  16. Up map[string]interface{} `json:"up"`
  17. // extra field for further buseinss
  18. Extra map[string]interface{} `json:"extra"`
  19. }