123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- package response
- import (
- "eta/eta_mini_api/models"
- "time"
- "github.com/rdlucklib/rdluck_tools/paging"
- )
- type ReportList struct {
- List []*models.ReportView
- Paging *paging.PagingItem
- }
- type ReportPushListResp struct {
- List []*models.ReportPushView
- Paging *paging.PagingItem
- }
- type ReportResp[T any] struct {
- Ret int
- Data T
- Msg string
- ErrMsg string
- }
- type ReportDetailResp struct {
- Report *models.ReportDetail `description:"报告"`
- Status int `description:"报告状态"`
- IsCollect bool `description:"报告是否收藏"`
- IsSignIn bool `description:"是否登录"`
- }
- type ReportCollectListItem struct {
- ReportId int `description:"报告Id"`
- ReportChapterId int `description:"报告章节Id"`
- ClassifyIdFirst int `description:"一级分类id"`
- ClassifyNameFirst string `description:"一级分类名称"`
- ClassifyIdSecond int `description:"二级分类id"`
- ClassifyNameSecond string `description:"二级分类名称"`
- ClassifyIdThird int `description:"三级分类id"`
- ClassifyNameThird string `description:"三级分类名称"`
- ReportChapterTypeId int `decription:"报告章节类型id"`
- PublishTime time.Time `description:"发布时间"`
- Title string `description:"标题"`
- ContentSub string `description:"内容前两个章节"`
- Abstract string `description:"摘要"`
- Stage string `description:"期数"`
- Author string `description:"作者"`
- PdfUrl string `description:"pdf文件url"`
- ReportType int `description:"报告类型:1:eta报告,2:小程序pdf报告"`
- }
- type ReportSearchListView struct {
- ReportId int `description:"报告Id"`
- ReportChapterId int `description:"报告章节Id"`
- ClassifyIdFirst int `description:"一级分类id"`
- ClassifyNameFirst string `description:"一级分类名称"`
- ClassifyIdSecond int `description:"二级分类id"`
- ClassifyNameSecond string `description:"二级分类名称"`
- ClassifyIdThird int `description:"三级分类id"`
- ClassifyNameThird string `description:"三级分类名称"`
- ReportChapterTypeId int `decription:"报告章节类型id"`
- PublishTime string `description:"发布时间"`
- Title string `description:"标题"`
- ContentSub string `description:"内容前两个章节"`
- Abstract string `description:"摘要"`
- Stage string `description:"期数"`
- Author string `description:"作者"`
- PdfUrl string `description:"pdf文件url"`
- ReportType int `description:"报告类型:1:eta报告,2:小程序pdf报告"`
- }
- type ReportSearchResp struct {
- Paging *paging.PagingItem
- List []*ReportCollectListItem
- }
- type ReportSearchViewResp struct {
- Paging *paging.PagingItem
- List []*ReportSearchListView
- }
- type ReportPdfResp struct {
- Paging *paging.PagingItem
- List []*models.ReportPdf
- }
- type ReportPdfDetailResp struct {
- Report *models.ReportPdfView `description:"报告"`
- Status int `description:"报告状态"`
- }
|