eta_training_video.go 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package response
  2. // EtaTrainingVideoClassifyResp 视频分类响应体
  3. type EtaTrainingVideoClassifyResp struct {
  4. List []*EtaTrainingVideoClassifyItem
  5. }
  6. // EtaTrainingVideoClassifyItem 视频分类信息
  7. type EtaTrainingVideoClassifyItem struct {
  8. ClassifyId int `description:"视频分类ID"`
  9. ClassifyName string `description:"视频分类名称"`
  10. ParentId int `description:"父级ID"`
  11. Sort int `description:"排序"`
  12. Children []*EtaTrainingVideoClassifyItem
  13. }
  14. // EtaTrainingVideoTagItem 标签信息
  15. type EtaTrainingVideoTagItem struct {
  16. TagId int `description:"标签ID"`
  17. TagName string `description:"标签名称"`
  18. VideoTotal int `description:"关联视频数"`
  19. CreateTime string `description:"创建时间"`
  20. ModifyTime string `description:"更新时间"`
  21. }
  22. // EtaTrainingVideoItem ETA视频信息
  23. type EtaTrainingVideoItem struct {
  24. VideoId int `description:"视频ID"`
  25. VideoCode string `description:"视频唯一编码"`
  26. Title string `description:"视频标题"`
  27. Introduce string `description:"视频简介"`
  28. Classify *EtaTrainingVideoClassifyItem `description:"视频分类"`
  29. Tags []*EtaTrainingVideoTagItem `description:"视频标签"`
  30. CoverImg string `description:"封面图"`
  31. VideoUrl string `description:"视频地址"`
  32. PublishState int `description:"发布状态:0-未发布;1-已发布"`
  33. PublishTime string `description:"发布时间"`
  34. ViewTotal int `description:"访问量"`
  35. CreateTime string `description:"创建时间"`
  36. ModifyTime string `description:"更新时间"`
  37. }