// Code generated by sql2gorm. DO NOT EDIT. package gorm_model import ( "time" ) type YoungeeTaskInfo struct { TaskID int `gorm:"column:task_id;primary_key;AUTO_INCREMENT"` // 任务id ProjectID int `gorm:"column:project_id;NOT NULL"` // 项目id AccountID int `gorm:"column:account_id;NOT NULL"` // 账号id TalentPlatformInfoSnap string `gorm:"column:talent_platform_info_snap;NOT NULL"` // 达人平台信息快照 TalentPersonalInfoSnap string `gorm:"column:talent_personal_info_snap;NOT NULL"` // 达人个人信息快照 TalentPostAddrSnap string `gorm:"column:talent_post_addr_snap;NOT NULL"` // 收货地址快照 StrategyID int `gorm:"column:strategy_id"` // 报名选择的招募策略id TaskReward int64 `gorm:"column:task_reward"` // 任务奖励金额 SettleAmount int64 `gorm:"column:settle_amount;NOT NULL"` // 待结算金额(任务奖励扣除违规扣款) TaskStatus int `gorm:"column:task_status;default:1;NOT NULL"` // 任务状态 1待选 2已选 3落选 CreateDate time.Time `gorm:"column:create_date;NOT NULL"` // 创建时间 SelectDate time.Time `gorm:"column:select_date"` // 反选时间 CompleteStatus int `gorm:"column:complete_status;default:1;NOT NULL"` // 结束方式 1未结束 2正常结束 3反选失败 4被解约 CompleteDate time.Time `gorm:"column:complete_date"` // 结束时间 TaskStage int `gorm:"column:task_stage;NOT NULL"` // 任务阶段 } func (m *YoungeeTaskInfo) TableName() string { return "youngee_task_info" }