talent_income.go 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. package youngee_talent_model
  2. import (
  3. "youngmini_server/app/model"
  4. "github.com/gogf/gf/os/gtime"
  5. )
  6. type GetTalentIncomeReq struct {
  7. Type int `json:"type"` // 提现阶段,1-3分别表示可提现、已提现、提现中
  8. SearchInput string `json:"search_input"` // 模糊搜索内容
  9. }
  10. type TalentIncomeInfo struct {
  11. Id int `json:"id"` // 收益记录id
  12. ProjectId string `json:"project_id"` // 项目id
  13. TaskId string `json:"task_id"` // 任务id
  14. BrandName string `json:"brand_name"` // 品牌名称
  15. TaskName string `json:"task_name"` // 任务名称
  16. Type int `json:"type"` //种草、带货、本地生活
  17. PhotoUrl string `json:"photo_url"` //
  18. TeamId string `json:"team_id"` // young之团id
  19. Income float64 `json:"income"` // 收益金额
  20. IncomeType int `json:"income_type"` // 收益类型,1-4分别表示任务收益、开团收益、样品返现、悬赏收益
  21. WithdrawStatus int `json:"withdraw_status"` // 提现状态,1-3分别表示可提现、提现中、已提现
  22. IncomeAt *gtime.Time `json:"income_at"` // 收益产生时间
  23. WithdrawAt *gtime.Time `json:"withdraw_at"` // 提现时间
  24. PlatformIconUrl string `json:"platform_icon_url"`
  25. }
  26. type TalentPointInfo struct {
  27. Point int `json:"point"` // 现有积分
  28. TalentPointRecord []*model.YounggeeTalentPointRecord `json:"talent_point_record"` // 达人积分收益记录
  29. }