12345678910111213141516171819202122232425262728293031323334 |
- package youngee_talent_model
- import (
- "youngmini_server/app/model"
- "github.com/gogf/gf/os/gtime"
- )
- type GetTalentIncomeReq struct {
- Type int `json:"type"` // 提现阶段,1-3分别表示可提现、已提现、提现中
- SearchInput string `json:"search_input"` // 模糊搜索内容
- }
- type TalentIncomeInfo struct {
- Id int `json:"id"` // 收益记录id
- ProjectId string `json:"project_id"` // 项目id
- TaskId string `json:"task_id"` // 任务id
- BrandName string `json:"brand_name"` // 品牌名称
- TaskName string `json:"task_name"` // 任务名称
- Type int `json:"type"`
- PhotoUrl string `json:"photo_url"`
- TeamId string `json:"team_id"` // young之团id
- Income float64 `json:"income"` // 收益金额
- IncomeType int `json:"income_type"` // 收益类型,1-4分别表示任务收益、开团收益、样品返现、悬赏收益
- WithdrawStatus int `json:"withdraw_status"` // 提现状态,1-3分别表示可提现、提现中、已提现
- IncomeAt *gtime.Time `json:"income_at"` // 收益产生时间
- WithdrawAt *gtime.Time `json:"withdraw_at"` // 提现时间
- PlatformIconUrl string `json:"platform_icon_url"`
- }
- type TalentPointInfo struct {
- Point int `json:"point"` // 现有积分
- TalentPointRecord []*model.YounggeeTalentPointRecord `json:"talent_point_record"` // 达人积分收益记录
- }
|