SpecialTaskDataList.go 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package http_model
  2. import (
  3. "time"
  4. "youngee_b_api/model/gorm_model"
  5. )
  6. type SpecialTaskDataListRequest 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. DataStatus string `json:"data_status"` // 稿件状态
  12. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  13. }
  14. type SpecialTaskDataPreview struct {
  15. TaskID string `json:"task_id"` // 任务ID
  16. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  17. FansCount string `json:"fans_count"` // 粉丝数
  18. PlayNumber int `json:"play_number"` // 播放量/阅读量
  19. LikeNumber int `json:"like_number"` // 点赞数
  20. CommentNumber int `json:"comment_number"` // 评论数
  21. CollectNumber int `json:"collect_number"` // 收藏数
  22. LinkUrl string `json:"link_url"` // 上传链接url
  23. PhotoUrl string `json:"photo_url"` // 数据截图url
  24. AllPayment float64 `json:"all_payment"` // 企业支付
  25. RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
  26. SubmitAt string `json:"submit_at"` // 提交时间
  27. AgreeAt string `json:"agree_at"` // 同意时间
  28. ReviseOpinion string `json:"revise_opinion"` // 审稿意见
  29. }
  30. type SpecialTaskDataInfo struct {
  31. TaskID int `json:"task_id"` // 任务ID
  32. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  33. FansCount string `json:"fans_count"` // 粉丝数
  34. DataId int `json:"data_id"` // 数据ID
  35. PlayNumber int `json:"play_number"` // 播放量/阅读量
  36. LikeNumber int `json:"like_number"` // 点赞数
  37. CommentNumber int `json:"comment_number"` // 评论数
  38. CollectNumber int `json:"collect_number"` // 收藏数
  39. LinkUrl string `json:"link_url"` // 上传链接url
  40. PhotoUrl string `json:"photo_url"` // 数据截图url
  41. AllPayment float64 `json:"all_payment"` // 企业支付
  42. RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
  43. ReviseOpinion string `json:"revise_opinion"` // 审稿意见
  44. CreateAt time.Time `json:"create_at"` // 创建时间
  45. SubmitAt time.Time `json:"submit_at"` // 提交时间
  46. AgreeAt time.Time `json:"agree_at"` // 同意时间
  47. RejectAt time.Time `json:"reject_at"` // 拒绝时间
  48. IsReview int `json:"is_review"` // 是否审核
  49. }
  50. type SpecialTaskData struct {
  51. Talent gorm_model.YoungeeTaskInfo
  52. Data gorm_model.YounggeeDataInfo
  53. Link gorm_model.YounggeeLinkInfo
  54. }
  55. type SpecialTaskDataListData struct {
  56. SpecialTaskDataPreview []*SpecialTaskDataPreview `json:"project_task_pre_view"`
  57. Total string `json:"total"`
  58. }
  59. func NewSpecialTaskDataListRequest() *SpecialTaskDataListRequest {
  60. return new(SpecialTaskDataListRequest)
  61. }
  62. func NewSpecialTaskDataListResponse() *CommonResponse {
  63. resp := new(CommonResponse)
  64. resp.Data = new(SpecialTaskDataListData)
  65. return resp
  66. }