re_local_detail.go 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. SubmitAt string `json:"submitAt"` // 提交审核时间
  13. PassAt string `json:"passAt"` // 招募开始时间(审核通过时间)
  14. AutoFailAt string `json:"payEndAt"` // 支付截止时间
  15. StartAt string `json:"startAt"` // 执行开始时间(支付时间)
  16. FinishAt string `json:"finishAt"` // 结案时间
  17. FailAt string `json:"failAt"` // 失效时间
  18. CreatorName string `json:"creatorName"` // 创建者
  19. Phone string `json:"phone"` // 联系方式
  20. WX string `json:"wx"` // 微信
  21. EstimatedCost float64 `json:"estimatedCost"` // 成本预估 2025.04.03:支付前是预估一口价+"自报价"字符串 支付后是同意的达人的一口价和自报价即need_pay字段
  22. ServiceChargeRate float64 `json:"serviceChargeRate"` // 公开服务费率
  23. // 支付方式参数待定
  24. // 关联主体
  25. StoreInfo *ReStorePreview `json:"storeInfo"`
  26. PromoteBody int64 `json:"promoteBody"`
  27. TeamBuyingInfo *ReTeamBuyingPreview `json:"teamBuyingInfo"`
  28. Donate int64 `json:"donate"`
  29. // 招募要求
  30. TalentType string `json:"talentType"`
  31. RecruitDdl string `json:"recruitDdl"`
  32. RecruitStrategys []*LocalRecruitStrategy `json:"recruitStrategys"` // 招募策略
  33. // 执行要求
  34. TaskForm int64 `json:"taskForm"`
  35. ContentType int64 `json:"contentType"`
  36. TaskDetail string `json:"taskDetail"`
  37. TaskBriefs []*entity.LocalLifeBrief `json:"taskBriefs"` // 选品brief列表
  38. TaskMaterials []*entity.LocalLifeMaterial `json:"taskMaterials"` // 选品示例列表
  39. Tools string `json:"tools"` // 工具选择
  40. }
  41. type LocalRecruitStrategy struct {
  42. StrategyId int64 `json:"strategyId"`
  43. FeeForm int64 `json:"feeForm"`
  44. FollowersLow int64 `json:"followersLow"`
  45. FollowersUp int64 `json:"followersUp"`
  46. RecruitNumber int64 `json:"recruitNumber"`
  47. Offer float64 `json:"offer"`
  48. TOffer float64 `json:"tOffer"` // 达人所见报价
  49. ServiceCharge float64 `json:"serviceCharge"`
  50. SelectedNumber int64 `json:"selectedNumber"` // 确认合作数量
  51. TotalOffer float64 `json:"totalOffer"` // 合计
  52. }