SpecialTaskSettleList.go 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package http_model
  2. import (
  3. "time"
  4. "youngee_m_api/model/gorm_model"
  5. )
  6. type SpecialTaskSettleListRequest 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. SettleStatus string `json:"settle_status"` // 结算状态,待结算、已结算
  12. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  13. }
  14. type SpecialTaskSettlePreview 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. Phone string `json:"phone"` // 联系方式
  27. SubmitAt string `json:"submit_at"` // 提交时间
  28. AgreeAt string `json:"agree_at"` // 同意时间
  29. ReviseOpinion string `json:"revise_opinion"` // 审稿意见
  30. UpdateAt string `json:"update_at"` // 更新时间
  31. }
  32. type SpecialTaskSettleInfo struct {
  33. TaskID string `json:"task_id"` // 任务ID
  34. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  35. FansCount string `json:"fans_count"` // 粉丝数
  36. DataId int `json:"data_id"` // 数据ID
  37. PlayNumber int `json:"play_number"` // 播放量/阅读量
  38. LikeNumber int `json:"like_number"` // 点赞数
  39. CommentNumber int `json:"comment_number"` // 评论数
  40. CollectNumber int `json:"collect_number"` // 收藏数
  41. LinkUrl string `json:"link_url"` // 上传链接url
  42. PhotoUrl string `json:"photo_url"` // 数据截图url
  43. AllPayment float64 `json:"all_payment"` // 企业支付
  44. RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
  45. ReviseOpinion string `json:"revise_opinion"` // 审稿意见
  46. Phone string `json:"phone"` // 联系方式
  47. CreateAt time.Time `json:"create_at"` // 创建时间
  48. SubmitAt time.Time `json:"submit_at"` // 提交时间
  49. AgreeAt time.Time `json:"agree_at"` // 同意时间
  50. UpdateAt time.Time `json:"update_at"` // 更新时间
  51. RejectAt time.Time `json:"reject_at"` // 拒绝时间
  52. IsReview int `json:"is_review"` // 是否审核
  53. }
  54. type SpecialTaskSettle struct {
  55. Talent gorm_model.YoungeeTaskInfo
  56. Data gorm_model.YounggeeDataInfo
  57. Link gorm_model.YounggeeLinkInfo
  58. }
  59. type SpecialTaskSettleListData struct {
  60. SpecialTaskSettlePreview []*SpecialTaskSettlePreview `json:"project_task_pre_view"`
  61. Total string `json:"total"`
  62. }
  63. func NewSpecialTaskSettleListRequest() *SpecialTaskSettleListRequest {
  64. return new(SpecialTaskSettleListRequest)
  65. }
  66. func NewSpecialTaskSettleListResponse() *CommonResponse {
  67. resp := new(CommonResponse)
  68. resp.Data = new(SpecialTaskSettleListData)
  69. return resp
  70. }