media_cache.go 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package pgc
  2. import "go-common/library/time"
  3. // SeasonCMS defines the elements could be changed from TV CMS side
  4. type SeasonCMS struct {
  5. SeasonID int
  6. Cover string
  7. Desc string
  8. Title string
  9. UpInfo string // season update information
  10. Category int // - cn, jp, movie, tv, documentary
  11. Area string // - cn, jp, others
  12. Playtime time.Time
  13. Role string
  14. Staff string
  15. NewestOrder int // the newest passed ep's order
  16. NewestEPID int // the newest passed ep's ID
  17. NewestNb int // the newest ep's number ( after keyword filter )
  18. TotalNum int
  19. Style string
  20. OriginName string // new fields
  21. Alias string // new fields
  22. PayStatus int // season's pay status, 0||2 = free, others = pay, pass by conf
  23. }
  24. // EpCMS defines the elements could be changed from TV CMS side
  25. type EpCMS struct {
  26. EPID int `json:"epid"`
  27. Cover string `json:"cover"`
  28. Title string `json:"title"`
  29. Subtitle string `json:"subtitle"`
  30. // new fields
  31. PayStatus int `json:"pay_status"`
  32. }