talent_income.go 1.4 KB

123456789101112131415161718192021222324252627
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package gorm_model
  3. import (
  4. "time"
  5. )
  6. type YounggeeTalentIncome struct {
  7. ID int `gorm:"column:id;primary_key"` // 递增id
  8. TalentID string `gorm:"column:talent_id"` // 达人id,对应youngee_talent_info中id字段
  9. ProjectID string `gorm:"column:project_id"` // 项目id
  10. SelectionID string `gorm:"column:selection_id"` // 选品id
  11. TaskID string `gorm:"column:task_id"` // 任务id
  12. SectaskID string `gorm:"column:sectask_id"` // 选品任务id
  13. BrandName string `gorm:"column:brand_name"` // 品牌名称
  14. TaskName string `gorm:"column:task_name"` // 任务名称
  15. TeamID string `gorm:"column:team_id"` // young之团id
  16. Income string `gorm:"column:income"` // 收益金额
  17. IncomeType int `gorm:"column:income_type"` // 收益类型,1-4分别表示任务收益、开团收益、样品返现、悬赏收益
  18. WithdrawStatus int `gorm:"column:withdraw_status"` // 提现状态,1-3分别表示可提现、提现中、已提现
  19. IncomeAt *time.Time `gorm:"column:income_at"` // 收益产生时间
  20. WithdrawAt *time.Time `gorm:"column:withdraw_at"` // 提现时间
  21. }
  22. func (m *YounggeeTalentIncome) TableName() string {
  23. return "younggee_talent_income"
  24. }