show_task_progress.go 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package http_model
  2. import (
  3. "time"
  4. "youngee_b_api/model/gorm_model"
  5. )
  6. type ShowTaskProgressData struct {
  7. TaskId string `json:"task_id"` // 种草子任务ID
  8. ProjectId string `json:"project_id"` // 种草任务ID
  9. TalentId string `json:"talent_id"` // 达人ID
  10. CreateData time.Time `json:"create_data"` // 创建时间,即报名时间
  11. SelectDate time.Time `json:"select_date"` // 反选时间,即任务开始执行时间
  12. DeliveryDate time.Time `json:"delivery_date"` // 发货时间
  13. SignedTime time.Time `json:"signed_time"` // 签收时间
  14. SketchInfo []*gorm_model.YounggeeSketchInfo `json:"sketch_info"` // 初稿信息
  15. LinkInfo []*gorm_model.YounggeeLinkInfo `json:"link_info"` // 链接信息
  16. ServiceCharge float64 `json:"service_charge"` // 服务费
  17. DraftFee float64 `json:"draft_fee"` // 达人稿费
  18. TerminateTime time.Time `json:"terminate_time"` // 终止合作时间
  19. TerminateReason string `json:"terminate_reason"` // 终止合作理由
  20. CancelTime time.Time `json:"cancel_time"` // 解约时间
  21. CancelReason string `json:"cancel_reason"` // 解约理由
  22. }
  23. type ShowTaskProgressRequest struct {
  24. TaskId string `json:"task_id"` // 种草子任务ID
  25. }
  26. func NewShowTaskProgressRequest() *ShowTaskProgressRequest {
  27. return new(ShowTaskProgressRequest)
  28. }
  29. func NewShowTaskProgressResponse() *CommonResponse {
  30. resp := new(CommonResponse)
  31. resp.Data = new(ShowTaskProgressData)
  32. return resp
  33. }