123456789101112131415161718192021222324252627282930313233343536 |
- // 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
- TalentID string `gorm:"column:talent_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 float64 `gorm:"column:task_reward;NOT NULL"` // 达人报酬
- SettleAmount float64 `gorm:"column:settle_amount;NOT NULL"` // 达人实际所得(扣除违约扣款)
- AllPayment float64 `gorm:"column:all_payment;NOT NULL"` // 企业支付
- RealPayment float64 `gorm:"column:real_payment;NOT NULL"` // 企业实际支付(扣除违约扣款)
- Penalty int `gorm:"column:penalty;NOT NULL"` // 违约扣款比例,百分之
- FeeForm int `gorm:"column:fee_form;NOT NULL"` // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
- ServiceCharge float64 `gorm:"column:service_charge"` // 服务费
- ServiceRate int `gorm:"column:service_rate"` // 服务费率,千分之
- TaskStatus int `gorm:"column:task_status;default:1;NOT NULL"` // 任务状态 1待选 2已选 3落选
- TaskStage int `gorm:"column:task_stage;NOT NULL"` // 任务阶段
- CreateDate time.Time `gorm:"column:create_date;default:CURRENT_TIMESTAMP;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"` // 结束时间
- LogisticsStatus int `gorm:"column:logistics_status"` // 发货状态 1 待发货 2已发货 3 已签收
- }
- func (m *YoungeeTaskInfo) TableName() string {
- return "youngee_task_info"
- }
|