re_local_detail.go 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package vo
  2. import (
  3. "youngee_b_api/app/entity"
  4. )
  5. type ReLocalDetail struct {
  6. LocalName string `json:"localName"` // 任务标题
  7. // 系统信息
  8. LocalId string `json:"localId"` // 项目id
  9. LocalStatus int64 `json:"localStatus"` // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、执行中、失效、已结案
  10. LocalPlatform int64 `json:"localPlatform"` // 项目平台,1-7分别代表红book、抖音、微博、快手、b站、大众点评、知乎
  11. CreatedAt string `json:"createdAt"` // 创建时间
  12. CreatorName string `json:"creatorName"` // 创建者
  13. Phone string `json:"phone"` // 联系方式
  14. WX string `json:"wx"` // 微信
  15. EstimatedCost float64 `json:"estimatedCost"` // 成本预估 2025.04.03:支付前是预估一口价+"自报价"字符串 支付后是同意的达人的一口价和自报价即need_pay字段
  16. ServiceChargeRate float64 `json:"serviceChargeRate"` // 公开服务费率
  17. // 支付方式参数待定
  18. // 关联主体
  19. StoreInfo *ReStorePreview `json:"storeInfo"`
  20. PromoteBody int64 `json:"promoteBody"`
  21. TeamBuyingInfo *ReTeamBuyingPreview `json:"teamBuyingInfo"`
  22. Donate int64 `json:"donate"`
  23. // 招募要求
  24. TalentType string `json:"talentType"`
  25. RecruitDdl string `json:"recruitDdl"`
  26. RecruitStrategys []*LocalRecruitStrategy `json:"recruitStrategys"` // 招募策略
  27. // 执行要求
  28. TaskForm int64 `json:"taskForm"`
  29. ContentType int64 `json:"contentType"`
  30. TaskDetail string `json:"taskDetail"`
  31. TaskBriefs []*entity.ProjectBrief `json:"taskBriefs"` // 选品brief列表
  32. TaskMaterials []*entity.ProjectMaterial `json:"taskMaterials"` // 选品示例列表
  33. Tools string `json:"tools"` // 工具选择
  34. }
  35. type LocalRecruitStrategy struct {
  36. StrategyId int64 `json:"strategyId"`
  37. FeeForm int64 `json:"feeForm"`
  38. FollowersLow int64 `json:"followersLow"`
  39. FollowersUp int64 `json:"followersUp"`
  40. RecruitNumber int64 `json:"recruitNumber"`
  41. Offer float64 `json:"offer"`
  42. TOffer float64 `json:"tOffer"` // 达人所见报价
  43. ServiceCharge float64 `json:"serviceCharge"`
  44. SelectedNumber int64 `json:"selectedNumber"` // 确认合作数量
  45. TotalOffer float64 `json:"totalOffer"` // 合计
  46. }