report.go 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package models
  2. import "time"
  3. type ReportList struct {
  4. Id int `description:"报告Id"`
  5. AddType int `description:"新增方式:1:新增报告,2:继承报告"`
  6. ClassifyIdFirst int `description:"一级分类id"`
  7. ClassifyNameFirst string `description:"一级分类名称"`
  8. ClassifyIdSecond int `description:"二级分类id"`
  9. ClassifyNameSecond string `description:"二级分类名称"`
  10. Title string `description:"标题"`
  11. Abstract string `description:"摘要"`
  12. Author string `description:"作者"`
  13. Frequency string `description:"频度"`
  14. CreateTime string `description:"创建时间"`
  15. ModifyTime time.Time `description:"修改时间"`
  16. State int `description:"1:未发布,2:已发布"`
  17. PublishTime string `description:"发布时间"`
  18. Stage int `description:"期数"`
  19. MsgIsSend int `description:"消息是否已发送,0:否,1:是"`
  20. Content string `description:"内容"`
  21. VideoUrl string `description:"音频文件URL"`
  22. VideoName string `description:"音频文件名称"`
  23. VideoPlaySeconds string `description:"音频播放时长"`
  24. VideoSize string `description:"音频文件大小,单位M"`
  25. HasPermission int `description:"是否拥有报告权限,1:拥有,0:没有"`
  26. TitleType string `description:"标题类型,FICC或者权益"`
  27. IsCurrentDate int `description:"是否当前日期:1是,0不是"`
  28. IsPublic bool `description:"是否是公共报告"`
  29. ClassifyDetail
  30. }
  31. type ReportDetail struct {
  32. Id int `description:"报告Id"`
  33. AddType int `description:"新增方式:1:新增报告,2:继承报告"`
  34. ClassifyIdFirst int `description:"一级分类id"`
  35. ClassifyNameFirst string `description:"一级分类名称"`
  36. ClassifyIdSecond int `description:"二级分类id"`
  37. ClassifyNameSecond string `description:"二级分类名称"`
  38. Title string `description:"标题"`
  39. Abstract string `description:"摘要"`
  40. Author string `description:"作者"`
  41. Frequency string `description:"频度"`
  42. CreateTime string `description:"创建时间"`
  43. ModifyTime string `description:"修改时间"`
  44. State int `description:"1:未发布,2:已发布"`
  45. PublishTime string `description:"发布时间"`
  46. Stage int `description:"期数"`
  47. MsgIsSend int `description:"消息是否已发送,0:否,1:是"`
  48. Content string `description:"内容"`
  49. VideoUrl string `description:"音频文件URL"`
  50. VideoName string `description:"音频文件名称"`
  51. VideoPlaySeconds string `description:"音频播放时长"`
  52. VideoSize string `description:"音频文件大小,单位M"`
  53. ContentSub string `description:"内容前两个章节"`
  54. IsShowNewLabel int `description:"是否显示新标签"`
  55. IsCurrentDate int `description:"是否当前日期"`
  56. ClassifyName string `description:"分类名称"`
  57. TitleType string `description:"标题类型,FICC或者权益"`
  58. IsPublic bool `description:"是否是公共报告"`
  59. }