audio.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package audio
  2. import xtime "go-common/library/time"
  3. type Audio struct {
  4. ID int64 `json:"id"`
  5. Aid int64 `json:"aid"`
  6. UID int64 `json:"uid"`
  7. Title string `json:"title"`
  8. Cover string `json:"cover"`
  9. Author string `json:"author"`
  10. Schema string `json:"schema"`
  11. Duration int64 `json:"duration"`
  12. Play int `json:"play"`
  13. Reply int `json:"reply"`
  14. IsOff int `json:"isOff"`
  15. AuthType int `json:"authType"`
  16. CTime xtime.Time `json:"ctime"`
  17. }
  18. type FavAudio struct {
  19. ID int64 `json:"id"`
  20. Title string `json:"title"`
  21. ImgURL string `json:"img_url"`
  22. RecordsNum int `json:"records_num"`
  23. IsOpen int `json:"is_open"`
  24. }
  25. type UpperCert struct {
  26. Cert *struct {
  27. Type int `json:"type,omitempty"`
  28. Desc string `json:"desc,omitempty"`
  29. } `json:"cert,omitempty"`
  30. }
  31. type Card struct {
  32. Type int `json:"type,omitempty"`
  33. Status int `json:"status,omitempty"`
  34. }
  35. type Fav struct {
  36. Song bool `json:"song,omitempty"`
  37. Menu bool `json:"menu,omitempty"`
  38. PGCMenu bool `json:"pgc_menu,omitempty"`
  39. }