SpecialTaskFinishDataList.go 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package http_model
  2. import (
  3. "time"
  4. "youngee_b_api/model/gorm_model"
  5. )
  6. type SpecialTaskFinishDataListRequest struct {
  7. PageSize int64 `json:"page_size"`
  8. PageNum int64 `json:"page_num"`
  9. ProjectId string `json:"project_id"` // 项目ID
  10. TaskId string `json:"task_id"` // 任务ID
  11. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  12. }
  13. type SpecialTaskFinishDataPreview struct {
  14. TaskID string `json:"task_id"` // 任务ID
  15. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  16. FansCount string `json:"fans_count"` // 粉丝数
  17. PlayNumber int `json:"play_number"` // 播放量/阅读量
  18. LikeNumber int `json:"like_number"` // 点赞数
  19. CommentNumber int `json:"comment_number"` // 评论数
  20. CollectNumber int `json:"collect_number"` // 收藏数
  21. PhotoUrl string `json:"photo_url"` // 数据截图url
  22. RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
  23. SubmitAt string `json:"submit_at"` // 提交时间
  24. LinkUrl string `json:"link_url"` // 上传链接url
  25. }
  26. type SpecialTaskFinishDataInfo struct {
  27. TaskID string `json:"task_id"` // 任务ID
  28. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  29. FansCount string `json:"fans_count"` // 粉丝数
  30. DataId int `json:"data_id"` // 数据ID
  31. PlayNumber int `json:"play_number"` // 播放量/阅读量
  32. LikeNumber int `json:"like_number"` // 点赞数
  33. CommentNumber int `json:"comment_number"` // 评论数
  34. CollectNumber int `json:"collect_number"` // 收藏数
  35. PhotoUrl string `json:"photo_url"` // 数据截图url
  36. RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
  37. LinkUrl string `json:"link_url"` // 上传链接url
  38. SubmitAt time.Time `json:"submit_at"` // 提交时间
  39. }
  40. type SpecialTaskFinishData struct {
  41. Talent gorm_model.YoungeeTaskInfo
  42. Data gorm_model.YounggeeDataInfo
  43. Link gorm_model.YounggeeLinkInfo
  44. }
  45. type SpecialTaskFinishDataListData struct {
  46. SpecialTaskFinishDataPreview []*SpecialTaskFinishDataPreview `json:"project_task_pre_view"`
  47. Total string `json:"total"`
  48. }
  49. func NewSpecialTaskFinishDataListRequest() *SpecialTaskFinishDataListRequest {
  50. return new(SpecialTaskFinishDataListRequest)
  51. }
  52. func NewSpecialTaskFinishDataListResponse() *CommonResponse {
  53. resp := new(CommonResponse)
  54. resp.Data = new(SpecialTaskFinishDataListData)
  55. return resp
  56. }