bnj.go 875 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package model
  2. import (
  3. arcmdl "go-common/app/service/main/archive/api"
  4. )
  5. // Bnj2019 .
  6. type Bnj2019 struct {
  7. *Bnj2019View
  8. Elec *ElecShow `json:"elec"`
  9. Related []*Bnj2019Related `json:"related"`
  10. ReqUser *ReqUser `json:"req_user"`
  11. }
  12. // Bnj2019View .
  13. type Bnj2019View struct {
  14. *arcmdl.Arc
  15. Pages []*arcmdl.Page `json:"pages"`
  16. }
  17. // Bnj2019Related .
  18. type Bnj2019Related struct {
  19. *arcmdl.Arc
  20. Pages []*arcmdl.Page `json:"pages"`
  21. }
  22. // ReqUser req user.
  23. type ReqUser struct {
  24. Attention bool `json:"attention"`
  25. Favorite bool `json:"favorite"`
  26. Like bool `json:"like"`
  27. Dislike bool `json:"dislike"`
  28. Coin int64 `json:"coin"`
  29. }
  30. // Timeline bnj timeline.
  31. type Timeline struct {
  32. Name string `json:"name"`
  33. Start int64 `json:"start"`
  34. End int64 `json:"end"`
  35. Cover string `json:"cover"`
  36. H5Cover string `json:"h5_cover"`
  37. }