road_video.go 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package response
  2. import (
  3. "github.com/rdlucklib/rdluck_tools/paging"
  4. )
  5. type RoadVideoListResp struct {
  6. Paging *paging.PagingItem
  7. List []*RoadVideoItem `description:"列表数据"`
  8. }
  9. type RoadVideoItem struct {
  10. RoadVideoId int `description:"问题ID"`
  11. Title string `description:"视频标题"`
  12. ChartPermissionIds string `description:"品种权限ID,用英文逗号分隔"`
  13. ChartPermissionNames string `description:"品种权限名称"`
  14. CoverImgUrl string `description:"封面图地址"`
  15. VideoUrl string `description:"视频地址"`
  16. VideoSeconds string `description:"视频时长,单位秒"`
  17. PublishState int `description:"发布状态:0-待发布 1-已发布"`
  18. SendThsState int `description:"客群消息推送状态:0-待推送 1-已推送"`
  19. SendTemplateState int `description:"模板消息推送状态:0-待推送 1-已推送"`
  20. AdminId int `description:"创建者账号"`
  21. AdminRealName string `description:"创建者姓名"`
  22. CreateTime string `description:"创建时间"`
  23. ModifyTime string `description:"修改时间"`
  24. ClickNum int `description:"点击量"`
  25. ReportId int `description:"关联的报告ID"`
  26. ReportTitle string `description:"报告标题"`
  27. }
  28. type RoadVideoCoverListResp struct {
  29. Paging *paging.PagingItem
  30. List []*RoadVideoCoverItem `description:"列表数据"`
  31. }
  32. type RoadVideoCoverItem struct {
  33. RoadVideoCoverId int `description:"封面ID"`
  34. CoverName string `description:"封面名称"`
  35. CoverUrl string `description:"封面图地址"`
  36. CreateTime string `description:"提问时间"`
  37. ModifyTime string `description:"修改时间"`
  38. Type int8 `description:"封面类型(1 视频社区,2 路演视频)"`
  39. }
  40. type RoadPermissionResp struct {
  41. List []*RoadPermissionItem
  42. }
  43. type RoadPermissionItem struct {
  44. Id int
  45. ClassifyName string
  46. List []*RoadPermissionSecondItem
  47. }
  48. type RoadPermissionSecondItem struct {
  49. ChartPermissionName string
  50. ChartPermissionID int
  51. }