activity.go 782 B

12345678910111213141516171819202122232425262728293031323334
  1. package response
  2. import (
  3. "github.com/rdlucklib/rdluck_tools/paging"
  4. "hongze/hz_crm_api/models"
  5. "hongze/hz_crm_api/models/yb"
  6. )
  7. // ListResp 列表数据返回
  8. type ListResp struct {
  9. Paging *paging.PagingItem
  10. List []*yb.ActivityList `description:"列表数据"`
  11. }
  12. // AddActivityResp 新增活动数据返回
  13. type AddActivityResp struct {
  14. ActivityId int `description:"活动id"`
  15. }
  16. // SpeakerListResp 主讲人列表数据返回
  17. type SpeakerListResp struct {
  18. List []*yb.Speaker `description:"列表数据"`
  19. }
  20. // ResearchReportListResp 报告列表数据返回
  21. type ResearchReportListResp struct {
  22. Paging *paging.PagingItem
  23. List []*models.ResearchReportList `description:"列表数据"`
  24. }
  25. type ActivityDetailResp struct {
  26. *yb.Activity
  27. Poster []*yb.ActivityPoster
  28. }