project_update_param.go 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package vo
  2. type ProjectUpdateParam struct {
  3. EnterpriseId string `json:"enterprise_id"`
  4. SubAccountId int64 `json:"sub_account_id"`
  5. ProjectID string `json:"project_id"`
  6. ProductId int64 `json:"product_id"`
  7. ServiceChargeRate float64 `json:"service_charge_rate"`
  8. ProjectType int64 `json:"project_type"` // 项目类型,1代表全流程项目,2代表专项项目
  9. ProjectStatus int64 `json:"project_status"` // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、失效、执行中、已结案
  10. ProjectName string `json:"task_name"` // 项目名称(任务标题)
  11. TalentType string `json:"talent_type"` // 达人类型
  12. RecruitDdl string `json:"recruit_ddl"` // 招募截止时间
  13. RecruitStrategys []CreateRecruitStrategy `json:"recruit_strategys"` // 招募策略
  14. ProjectForm int64 `json:"project_form"` // 项目形式,1-3分别代表商品寄拍、素材分发、虚拟产品测评
  15. ContentType int64 `json:"content_type"` // 内容形式,1代表图文,2代表视频
  16. ProjectDetail string `json:"project_detail"` // 项目详情
  17. Tools string `json:"tools"` // 工具选择 1邀约招募 2结算账单 3样品物流 4审稿工具 5作品审查 6数据巡检(,分隔)
  18. ProjectBrief []*ProjectBriefInfo `json:"project_brief"`
  19. ProjectMaterial []*ProjectMaterialInfo `json:"project_material"`
  20. }
  21. type ProjectBriefInfo struct {
  22. FileUrl string `json:"file_url"`
  23. FileUid string `json:"file_uid"`
  24. Name string `json:"name"`
  25. Type int64 `json:"type"` // 手卡类型(1图片 2文档)
  26. }
  27. type ProjectMaterialInfo struct {
  28. FileUrl string `json:"file_url"`
  29. FileUid string `json:"file_uid"`
  30. Name string `json:"name"`
  31. Type int64 `json:"type"` // 素材类型(1图片 2视频)
  32. }
  33. // 招募策略
  34. type CreateRecruitStrategy struct {
  35. StrategyID int64 `json:"strategy_id"` // 策略id
  36. FeeForm int64 `json:"fee_form"` // 稿费形式,1-3分别代表无费置换、一口价、自报价
  37. FollowersLow int64 `json:"followers_low"` // 达人粉丝数下限
  38. FollowersUp int64 `json:"followers_up"` // 达人粉丝数上限
  39. RecruitNumber int64 `json:"recruit_number"` // 招募数量
  40. Offer float64 `json:"offer"` // 报价
  41. ServiceCharge float64 `json:"service_charge"` // 服务费
  42. }