project_update_param.go 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
  15. ContentType int64 `json:"content_type"` // 内容形式,1代表图文,2代表视频
  16. ProjectDetail string `json:"project_detail"` // 项目详情
  17. ProjectBrief []*ProjectBriefInfo `json:"project_brief"`
  18. ProjectMaterial []*ProjectMaterialInfo `json:"project_material"`
  19. }
  20. type ProjectBriefInfo struct {
  21. FileUrl string `json:"file_url"`
  22. FileUid string `json:"file_uid"`
  23. Name string `json:"name"`
  24. }
  25. type ProjectMaterialInfo struct {
  26. FileUrl string `json:"file_url"`
  27. FileUid string `json:"file_uid"`
  28. Name string `json:"name"`
  29. }
  30. // 招募策略
  31. type CreateRecruitStrategy struct {
  32. StrategyID int64 `json:"strategy_id"` // 策略id
  33. FeeForm int64 `json:"fee_form"` // 稿费形式,1-3分别代表无费置换、一口价、自报价
  34. FollowersLow int64 `json:"followers_low"` // 达人粉丝数下限
  35. FollowersUp int64 `json:"followers_up"` // 达人粉丝数上限
  36. RecruitNumber int64 `json:"recruit_number"` // 招募数量
  37. Offer float64 `json:"offer"` // 报价
  38. ServiceCharge float64 `json:"service_charge"` // 服务费
  39. }