activity.go 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package model
  2. // ActInfo .
  3. type ActInfo struct {
  4. Activities []*Activity `json:"activities"`
  5. Banners []*Banner `json:"banners"`
  6. }
  7. // AnniversaryInfo .
  8. type AnniversaryInfo struct {
  9. Mid int64 `json:"mid"`
  10. Uname string `json:"uname"`
  11. Face string `json:"face"`
  12. ReaderInfo *AnniversaryReader `json:"reader_info"`
  13. AuthorInfo *AnniversaryAuthor `json:"author_info"`
  14. }
  15. // AnniversaryAuthor .
  16. type AnniversaryAuthor struct {
  17. Articles int32 `json:"articles"`
  18. Words int64 `json:"words"`
  19. Views int64 `json:"views"`
  20. Coins int64 `json:"coins"`
  21. Title string `json:"title"`
  22. Publish string `json:"publish"`
  23. Rank string `json:"rank"`
  24. ReaderMid int64 `json:"reader"`
  25. ReaderUname string `json:"reader_name"`
  26. ReaderFace string `json:"reader_face"`
  27. }
  28. // AnniversaryReader .
  29. type AnniversaryReader struct {
  30. Words int64 `json:"words"`
  31. Views int64 `json:"views"`
  32. Coins int64 `json:"coins"`
  33. Comments int64 `json:"comments"`
  34. Title string `json:"title"`
  35. AuthorMid int64 `json:"author"`
  36. AuthorUname string `json:"author_name"`
  37. Rank string `json:"rank"`
  38. FirstComment string `json:"first_comment"`
  39. CommentDate string `json:"comment_date"`
  40. }