game.go 755 B

1234567891011121314151617181920212223242526272829303132
  1. package game
  2. import (
  3. xtime "go-common/library/time"
  4. )
  5. // ListItem str
  6. type ListItem struct {
  7. GameBaseID int64 `json:"game_base_id"`
  8. GameName string `json:"game_name"`
  9. Source int8 `json:"source"`
  10. Letter string `json:"letter"`
  11. }
  12. // ListWithPager fn
  13. type ListWithPager struct {
  14. List []*ListItem `json:"list"`
  15. Pn int `json:"pn"`
  16. Ps int `json:"ps"`
  17. Total int `json:"total"`
  18. }
  19. // Info str
  20. type Info struct {
  21. IsOnline bool `json:"is_online"`
  22. BaseID int64 `json:"game_base_id"`
  23. Name string `json:"game_name"`
  24. Icon string `json:"game_icon"`
  25. Link string `json:"game_link"`
  26. Status int `json:"game_status"`
  27. BeginDate xtime.Time `json:"begin_date"`
  28. }