|
@@ -119,12 +119,13 @@ type InfoAutoTask struct {
|
|
|
ReviewUnlimited int `orm:"review_unlimited" json:"review_unlimited"` // 不限形式的审稿处理
|
|
|
Postreview int `orm:"postreview" json:"postreview"` // 发布审核自动处理
|
|
|
CaseClose int `orm:"case_close" json:"case_close"` // 结案自动处理
|
|
|
- Invalid int `orm:"invalid" json:"invalid"` // 失效自动处理
|
|
|
+ Invalid int `orm:"invalid" json:"invalid"` // 全流程项目失效自动处理
|
|
|
DraftDefaultInPic int `orm:"draft_default_in_pic" json:"draft_default_in_pic"` // 图片初稿违约自动处理
|
|
|
DraftDefaultInMv int `orm:"draft_default_in_mv" json:"draft_default_in_mv"` // 视频初稿违约自动处理
|
|
|
ScriptDefault int `orm:"script_default" json:"script_default"` // 脚本违约自动处理
|
|
|
LinkBreach int `orm:"link_breach" json:"link_breach"` // 链接违约自动处理
|
|
|
CaseCloseDefault int `orm:"case_close_default" json:"case_close_default"` // 结案违约自动处理
|
|
|
+ Selectioninvalid int `orm:"selectioninvalid" json:"selectioninvalid"` // 选品项目失效自动处理
|
|
|
}
|
|
|
|
|
|
// InfoBank is the golang structure for table info_bank.
|
|
@@ -178,6 +179,12 @@ type InfoRegion struct {
|
|
|
RegionName string `orm:"region_name" json:"region_name"` //
|
|
|
}
|
|
|
|
|
|
+// InfoSectaskStage is the golang structure for table info_sectask_stage.
|
|
|
+type InfoSectaskStage struct {
|
|
|
+ TaskStageId int `orm:"task_stage_id,primary" json:"task_stage_id"` // 选品任务阶段id
|
|
|
+ TaskStage string `orm:"task_stage" json:"task_stage"` // 选品任务阶段
|
|
|
+}
|
|
|
+
|
|
|
// InfoTalentAgeBracket is the golang structure for table info_talent_age_bracket.
|
|
|
type InfoTalentAgeBracket struct {
|
|
|
AgeAid int `orm:"age_aid,primary" json:"age_aid"` //
|
|
@@ -204,12 +211,27 @@ type InfoTaskStage struct {
|
|
|
|
|
|
// InfoThirdPlatform is the golang structure for table info_third_platform.
|
|
|
type InfoThirdPlatform struct {
|
|
|
- PlatformId uint `orm:"platform_id,primary" json:"platform_id"` // 平台id,主键
|
|
|
+ PlatformId int `orm:"platform_id,primary" json:"platform_id"` // 平台id,主键
|
|
|
PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名
|
|
|
PlatformIcon string `orm:"platform_icon" json:"platform_icon"` // 平台图标url
|
|
|
PlatformTableName string `orm:"platform_table_name" json:"platform_table_name"` // 平台数据表表名
|
|
|
}
|
|
|
|
|
|
+// InfoYoungeeStrategy is the golang structure for table info_youngee_strategy.
|
|
|
+type InfoYoungeeStrategy struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // id
|
|
|
+ ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,0表示不限,1为全流程项目,2为选品项目
|
|
|
+ StrategyId string `orm:"strategyId" json:"strategy_id"` // 定价策略编号
|
|
|
+ Platform int `orm:"platform" json:"platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
|
|
|
+ TaskType int `orm:"task_type" json:"task_type"` // 任务形式,实体商品寄拍、虚拟产品测评、线下探店打卡、悬赏任务、纯佣带货
|
|
|
+ ContentType int `orm:"content_type" json:"content_type"` // 内容形式 图文、视频、直播
|
|
|
+ Reason int `orm:"reason" json:"reason"` // 奖励原因,成团-新用户、成团-老用户、成单-申请成功、成单-结案完毕;
|
|
|
+ Points float64 `orm:"points" json:"points"` // 积分奖励
|
|
|
+ Cash float64 `orm:"cash" json:"cash"` // 现金奖励
|
|
|
+ Status int `orm:"status" json:"status"` // '定价策略当前状态,0表示正常,1表示禁用',
|
|
|
+ CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
|
|
|
+}
|
|
|
+
|
|
|
// OrderAnswer is the golang structure for table order_answer.
|
|
|
type OrderAnswer struct {
|
|
|
TraId int64 `orm:"tra_id,primary" json:"tra_id"` //
|
|
@@ -575,6 +597,7 @@ type ProjectPhoto struct {
|
|
|
PhotoUid string `orm:"photo_uid" json:"photo_uid"` //
|
|
|
ProjectId string `orm:"project_id" json:"project_id"` // 所属项目id
|
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
+ FileName string `orm:"file_name" json:"file_name"` // 文件名称
|
|
|
}
|
|
|
|
|
|
// ROrderCompeleteStageToType is the golang structure for table r_order_compelete_stage_to_type.
|
|
@@ -918,6 +941,7 @@ type YoungeePlatformAccountInfo struct {
|
|
|
TalentId string `orm:"talent_id" json:"talent_id"` // 达人账号id(youngee_talent_info表id值)
|
|
|
PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
|
|
|
PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
|
|
|
+ PlatformType string `orm:"platform_type" json:"platform_type"` // 标签及类型
|
|
|
HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
|
|
|
FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
|
|
|
HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图链接
|
|
@@ -949,6 +973,7 @@ type YoungeeTalentInfo struct {
|
|
|
Withdrawing float64 `orm:"withdrawing" json:"withdrawing"` // 提现中金额
|
|
|
Canwithdraw float64 `orm:"canwithdraw" json:"canwithdraw"` // 可提现金额
|
|
|
Withdrawed float64 `orm:"withdrawed" json:"withdrawed"` // 已提现金额
|
|
|
+ Point int `orm:"point" json:"point"` // 可用积分
|
|
|
TalentPhoneNumber string `orm:"talent_phone_number" json:"talent_phone_number"` // 电话号码
|
|
|
TalentAgeBracket int `orm:"talent_age_bracket" json:"talent_age_bracket"` // 年龄段,取tallent_age_bracket表id
|
|
|
TalentNationality int `orm:"talent_nationality" json:"talent_nationality"` // 国籍,取tallent_nationality表id
|
|
@@ -965,6 +990,7 @@ type YoungeeTalentInfo struct {
|
|
|
CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
|
|
|
LastLoginDate *gtime.Time `orm:"last_login_date" json:"last_login_date"` // 最后登录时间
|
|
|
ApplyNum int `orm:"apply_num" json:"apply_num"` // 剩余申请次数(每天更新)
|
|
|
+ UserType int `orm:"user_type" json:"user_type"` // 用户类型,1、2分别表示新用户、老用户
|
|
|
}
|
|
|
|
|
|
// YoungeeTaskInfo is the golang structure for table youngee_task_info.
|
|
@@ -973,38 +999,44 @@ type YoungeeTaskInfo struct {
|
|
|
ProjectId string `orm:"project_id" json:"project_id"` // 项目id
|
|
|
TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
|
|
|
AccountId int `orm:"account_id" json:"account_id"` // 账号id
|
|
|
+ StrategyId int `orm:"strategy_id" json:"strategy_id"` // 报名选择的招募策略id
|
|
|
TalentPlatformInfoSnap string `orm:"talent_platform_info_snap" json:"talent_platform_info_snap"` // 达人平台信息快照
|
|
|
TalentPersonalInfoSnap string `orm:"talent_personal_info_snap" json:"talent_personal_info_snap"` // 达人个人信息快照
|
|
|
TalentPostAddrSnap string `orm:"talent_post_addr_snap" json:"talent_post_addr_snap"` // 收货地址快照
|
|
|
- StrategyId int `orm:"strategy_id" json:"strategy_id"` // 报名选择的招募策略id
|
|
|
TaskReward float64 `orm:"task_reward" json:"task_reward"` // 达人报酬
|
|
|
SettleAmount float64 `orm:"settle_amount" json:"settle_amount"` // 达人实际所得(扣除违约扣款)
|
|
|
AllPayment float64 `orm:"all_payment" json:"all_payment"` // 企业支付
|
|
|
RealPayment float64 `orm:"real_payment" json:"real_payment"` // 企业实际支付(扣除违约扣款)
|
|
|
+ ServiceRate int `orm:"service_rate" json:"service_rate"` // 服务费率,千分之
|
|
|
+ ServiceCharge float64 `orm:"service_charge" json:"service_charge"` // 服务费
|
|
|
+ FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
|
|
|
ErrBreakRate int `orm:"err_break_rate" json:"err_break_rate"` // 未上传类型违约扣款比例,百分之
|
|
|
ScriptBreakRate int `orm:"script_break_rate" json:"script_break_rate"` // 脚本上传超时违约扣款比例,百分之
|
|
|
SketchBreakRate int `orm:"sketch_break_rate" json:"sketch_break_rate"` // 初稿上传超时违约扣款比例,百分之
|
|
|
LinkBreakRate int `orm:"link_break_rate" json:"link_break_rate"` // 链接上传超时违约扣款比例,百分之
|
|
|
DataBreakRate int `orm:"data_break_rate" json:"data_break_rate"` // 数据上传超时违约扣款比例,百分之
|
|
|
- FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
|
|
|
- ServiceCharge float64 `orm:"service_charge" json:"service_charge"` // 服务费
|
|
|
- ServiceRate int `orm:"service_rate" json:"service_rate"` // 服务费率,千分之
|
|
|
+ TaskStage int `orm:"task_stage" json:"task_stage"` //
|
|
|
TaskStatus int `orm:"task_status" json:"task_status"` // 任务状态 1待选 2已选 3落选
|
|
|
- TaskStage int `orm:"task_stage" json:"task_stage"` // 任务阶段,详情见info_task_stage表
|
|
|
- CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
|
|
|
- SelectDate *gtime.Time `orm:"select_date" json:"select_date"` // 反选时间
|
|
|
- DeliveryDate *gtime.Time `orm:"delivery_date" json:"delivery_date"` // 发货时间
|
|
|
- CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 结束时间
|
|
|
- WithdrawDate *gtime.Time `orm:"withdraw_date" json:"withdraw_date"` // 提现时间
|
|
|
- CompleteStatus int `orm:"complete_status" json:"complete_status"` // 结束方式 1未结束 2正常结束 3反选失败 4被解约
|
|
|
LogisticsStatus int `orm:"logistics_status" json:"logistics_status"` // 发货状态 1 待发货 2已发货 3 已签收
|
|
|
ScriptStatus uint `orm:"script_status" json:"script_status"` // 脚本上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
|
|
|
SketchStatus uint `orm:"sketch_status" json:"sketch_status"` // 初稿上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
|
|
|
- UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 更新时间
|
|
|
LinkStatus uint `orm:"link_status" json:"link_status"` // 链接上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
|
|
|
DataStatus uint `orm:"data_status" json:"data_status"` // 数据上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
|
|
|
+ CompleteStatus int `orm:"complete_status" json:"complete_status"` // 结束方式 1未结束 2正常结束 3反选失败 4被解约
|
|
|
+ UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 更新时间
|
|
|
+ CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
|
|
|
+ SelectDate *gtime.Time `orm:"select_date" json:"select_date"` // 反选时间
|
|
|
+ DeliveryDate *gtime.Time `orm:"delivery_date" json:"delivery_date"` // 发货时间
|
|
|
+ CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 结束时间
|
|
|
+ WithdrawDate *gtime.Time `orm:"withdraw_date" json:"withdraw_date"` // 提现时间
|
|
|
CurDefaultType int `orm:"cur_default_type" json:"cur_default_type"` // 任务当前处于的违约类型 0-10分别表示未违约、脚本超时违约、脚本未上传违约、初稿超时违约、初稿未上传违约、链接超时违约、链接未上传违约、数据超时违约、数据未上传违约、解约待处理、解约
|
|
|
WithdrawStatus int `orm:"withdraw_status" json:"withdraw_status"` // 提现状态,1-4分别代表不可提现、可提现、提现中、已提现
|
|
|
+ LeadTeamId string `orm:"lead_team_id" json:"lead_team_id"` // 作为团长的young之团id,对应younggee_talent_team中的team_id字段
|
|
|
+ TeamId string `orm:"team_id" json:"team_id"` // 作为团员的young之团id,对应younggee_talent_team中的team_id字段
|
|
|
+ SettleStatus int `orm:"settle_status" json:"settle_status"` // 结算状态,1、2分别表示待结算、已结算
|
|
|
+ TeamIncome float64 `orm:"team_income" json:"team_income"` // young之团团长现金收益
|
|
|
+ TeamPoint int `orm:"team_point" json:"team_point"` // young之团团长积分收益
|
|
|
+ CurBreakAt *gtime.Time `orm:"cur_break_at" json:"cur_break_at"` // 当前阶段截止时间
|
|
|
}
|
|
|
|
|
|
// YoungeeTaskLogistics is the golang structure for table youngee_task_logistics.
|
|
@@ -1026,6 +1058,22 @@ type YoungeeTaskLogistics struct {
|
|
|
Status int `orm:"status" json:"status"` // 签收状态,0为未签收,1为已签收
|
|
|
}
|
|
|
|
|
|
+// YounggeeAssignmentInfo is the golang structure for table younggee_assignment_info.
|
|
|
+type YounggeeAssignmentInfo struct {
|
|
|
+ AssignmentId int `orm:"assignment_id,primary" json:"assignment_id"` // 作业id,递增
|
|
|
+ TaskId string `orm:"task_id,unique" json:"task_id"` // 任务id
|
|
|
+ LinkUrl string `orm:"link_url" json:"link_url"` // 作业连接
|
|
|
+ PhotoUrl string `orm:"photo_url" json:"photo_url"` // 作业截图
|
|
|
+ ReviseOpinion string `orm:"revise_opinion" json:"revise_opinion"` // 审核意见
|
|
|
+ IsSubmit int `orm:"is_submit" json:"is_submit"` // 是否提交
|
|
|
+ IsReview int `orm:"is_review" json:"is_review"` // 是否审核
|
|
|
+ IsOk int `orm:"is_ok" json:"is_ok"` // 是否合格
|
|
|
+ CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
|
|
|
+ SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
|
|
|
+ AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
|
|
|
+ RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
|
|
|
+}
|
|
|
+
|
|
|
// YounggeeDataInfo is the golang structure for table younggee_data_info.
|
|
|
type YounggeeDataInfo struct {
|
|
|
DataId int `orm:"data_id,primary" json:"data_id"` // 脚本id
|
|
@@ -1177,6 +1225,96 @@ type YounggeeScriptInfo struct {
|
|
|
AutoScriptBreakAt *gtime.Time `orm:"auto_script_break_at" json:"auto_script_break_at"` // 脚本违约自动处理时间
|
|
|
}
|
|
|
|
|
|
+// YounggeeSecBrief is the golang structure for table younggee_sec_brief.
|
|
|
+type YounggeeSecBrief struct {
|
|
|
+ SectionBriefId int `orm:"section_brief_id,primary" json:"section_brief_id"` // brief的Id
|
|
|
+ FileUrl string `orm:"file_url" json:"file_url"` // 文件url
|
|
|
+ FileUid string `orm:"file_uid" json:"file_uid"` // 文件uid
|
|
|
+ SelectionId string `orm:"selection_id" json:"selection_id"` // 所属选品id
|
|
|
+ CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
+ FileName string `orm:"file_name" json:"file_name"` // 文件名称
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeSecExample is the golang structure for table younggee_sec_example.
|
|
|
+type YounggeeSecExample struct {
|
|
|
+ ExampleId int `orm:"example_id,primary" json:"example_id"` // 选品示例图id
|
|
|
+ FileUrl string `orm:"file_url" json:"file_url"` // 文件url
|
|
|
+ FileUid string `orm:"file_uid" json:"file_uid"` // 文件uid
|
|
|
+ SelectionId string `orm:"selection_id" json:"selection_id"` // 所属项目id
|
|
|
+ CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
+ FileName string `orm:"file_name" json:"file_name"` // 文件名称
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeSecTaskInfo is the golang structure for table younggee_sec_task_info.
|
|
|
+type YounggeeSecTaskInfo struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 递增id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 选品任务id
|
|
|
+ SelectionId string `orm:"selection_id" json:"selection_id"` // 选品id
|
|
|
+ TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
|
|
|
+ AccountId int `orm:"account_id" json:"account_id"` // 账号id
|
|
|
+ TalentPlatformInfoSnap string `orm:"talent_platform_info_snap" json:"talent_platform_info_snap"` // 达人平台信息快照
|
|
|
+ TalentPersonalInfoSnap string `orm:"talent_personal_info_snap" json:"talent_personal_info_snap"` // 达人个人信息快照
|
|
|
+ TalentPostAddrSnap string `orm:"talent_post_addr_snap" json:"talent_post_addr_snap"` // 收货地址快照
|
|
|
+ TaskReward float64 `orm:"task_reward" json:"task_reward"` // 达人赏金
|
|
|
+ TalentPayment float64 `orm:"talent_payment" json:"talent_payment"` // 达人垫付金额
|
|
|
+ IsPayPayment int `orm:"is_pay_payment" json:"is_pay_payment"` // 企业是否返样品钱
|
|
|
+ IsPayReward int `orm:"is_pay_reward" json:"is_pay_reward"` // 企业是否结算悬赏
|
|
|
+ TaskMode int `orm:"task_mode" json:"task_mode"` // 任务形式,1、2分别表示纯佣带货、悬赏任务
|
|
|
+ SampleMode int `orm:"sample_mode" json:"sample_mode"` // 领样形式,1-3分别表示免费领样、垫付买样、不提供样品
|
|
|
+ TaskStatus int `orm:"task_status" json:"task_status"` // 任务状态 1待选 2已选 3落选
|
|
|
+ TaskStage int `orm:"task_stage" json:"task_stage"` // 任务阶段,详情见info_sec_task_stage表
|
|
|
+ CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
|
|
|
+ SelectDate *gtime.Time `orm:"select_date" json:"select_date"` // 反选时间
|
|
|
+ DeliveryDate *gtime.Time `orm:"delivery_date" json:"delivery_date"` // 发货时间
|
|
|
+ CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 结束时间
|
|
|
+ WithdrawDate *gtime.Time `orm:"withdraw_date" json:"withdraw_date"` // 提现时间
|
|
|
+ CompleteStatus int `orm:"complete_status" json:"complete_status"` // 结束方式 1未结束 2正常结束 3反选失败
|
|
|
+ LogisticsStatus int `orm:"logistics_status" json:"logistics_status"` // 发货状态 1 待发货 2已发货 3 已签收
|
|
|
+ AssignmentStatus uint `orm:"assignment_status" json:"assignment_status"` // 作业上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
|
|
|
+ UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 更新时间
|
|
|
+ WithdrawStatus int `orm:"withdraw_status" json:"withdraw_status"` // 提现状态,1-4分别代表不可提现、可提现、提现中、已提现
|
|
|
+ LeadTeamId string `orm:"lead_team_id" json:"lead_team_id"` // 作为团长的young之团id,对应younggee_talent_team中的team_id字段
|
|
|
+ TeamId string `orm:"team_id" json:"team_id"` // 作为团员的young之团id,对应younggee_talent_team中的team_id字段
|
|
|
+ TeamIncome int `orm:"team_income" json:"team_income"` // young之团团长现金收益
|
|
|
+ TeamPoint int `orm:"team_point" json:"team_point"` // young之团团长积分收益
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeSelectionInfo is the golang structure for table younggee_selection_info.
|
|
|
+type YounggeeSelectionInfo struct {
|
|
|
+ SelectionId string `orm:"selection_id,primary" json:"selection_id"` // 选品项目id
|
|
|
+ SelectionName string `orm:"selection_name" json:"selection_name"` // 选品项目名称
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
|
|
|
+ ProductId int `orm:"product_id" json:"product_id"` // 关联商品id
|
|
|
+ ContentType int `orm:"content_type" json:"content_type"` // 内容形式,1代表图文,2代表视频,3代表直播
|
|
|
+ SelectionStatus int `orm:"selection_status" json:"selection_status"` // 选品项目状态,1-8分别代表创建中、待审核、审核通过、待支付、已支付、执行中、失效、已结案
|
|
|
+ TaskMode int `orm:"task_mode" json:"task_mode"` // 任务形式,1、2分别表示悬赏任务、纯佣带货
|
|
|
+ Platform int `orm:"platform" json:"platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
|
|
|
+ SampleMode int `orm:"sample_mode" json:"sample_mode"` // 领样形式,1、2、3分别表示免费领样、垫付领样、不提供样品
|
|
|
+ ProductUrl string `orm:"product_url" json:"product_url"` // 带货链接
|
|
|
+ SampleNum int `orm:"sample_num" json:"sample_num"` // 样品数量
|
|
|
+ RemainNum int `orm:"remain_num" json:"remain_num"` // 剩余数量
|
|
|
+ CommissionRate float64 `orm:"commission_rate" json:"commission_rate"` // 佣金比例
|
|
|
+ EstimatedCost float64 `orm:"estimated_cost" json:"estimated_cost"` // 预估成本
|
|
|
+ TaskReward float64 `orm:"task_reward" json:"task_reward"` // 任务悬赏
|
|
|
+ SampleCondition string `orm:"sample_condition" json:"sample_condition"` // 领样条件
|
|
|
+ RewardCondition string `orm:"reward_condition" json:"reward_condition"` // 返现悬赏条件
|
|
|
+ SettlementAmount float64 `orm:"settlement_amount" json:"settlement_amount"` // 结算金额
|
|
|
+ TaskDdl *gtime.Time `orm:"task_ddl" json:"task_ddl"` // 招募截止时间
|
|
|
+ Detail string `orm:"detail" json:"detail"` // 卖点总结
|
|
|
+ ProductSnap string `orm:"product_snap" json:"product_snap"` // 商品信息快照
|
|
|
+ ProductPhotoSnap string `orm:"product_photo_snap" json:"product_photo_snap"` // 商品图片快照
|
|
|
+ CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
+ UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 修改时间
|
|
|
+ SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交审核时间
|
|
|
+ PassAt *gtime.Time `orm:"pass_at" json:"pass_at"` // 审核通过时间
|
|
|
+ FailReason int `orm:"fail_reason" json:"fail_reason"` // 失效原因,1、2分别表示逾期未支付、项目存在风险
|
|
|
+ PayAt *gtime.Time `orm:"pay_at" json:"pay_at"` // 支付时间
|
|
|
+ FinishAt *gtime.Time `orm:"finish_at" json:"finish_at"` // 结案时间
|
|
|
+ IsRead int `orm:"is_read" json:"is_read"` // 是否已读
|
|
|
+ AutoTaskId int `orm:"auto_task_id" json:"auto_task_id"` // 定时任务id
|
|
|
+ AutoFailAt *gtime.Time `orm:"auto_fail_at" json:"auto_fail_at"` // 失效自动处理时间
|
|
|
+}
|
|
|
+
|
|
|
// YounggeeSketchInfo is the golang structure for table younggee_sketch_info.
|
|
|
type YounggeeSketchInfo struct {
|
|
|
SketchId int `orm:"sketch_id,primary" json:"sketch_id"` // 初稿id
|
|
@@ -1213,7 +1351,7 @@ type YounggeeTalentBank struct {
|
|
|
TalentId string `orm:"talent_id,unique" json:"talent_id"` // 达人id,取younggee_talent_info表中的id字段值
|
|
|
Name string `orm:"name" json:"name"` // 户主姓名
|
|
|
Phone string `orm:"phone" json:"phone"` // 手机号
|
|
|
- Bank string `orm:"bank" json:"bank"` // 银行id,取info_bank表中的bank_id字段值
|
|
|
+ Bank string `orm:"bank" json:"bank"` // 银行
|
|
|
BankCardNumber string `orm:"bank_card_number" json:"bank_card_number"` // 银行卡号
|
|
|
BankOpenAddress int `orm:"bank_open_address" json:"bank_open_address"` // 开户地址区域码,取info_region表中的self_code字段值
|
|
|
AlipayNumber string `orm:"alipay_number" json:"alipay_number"` // 支付宝账号
|
|
@@ -1224,6 +1362,57 @@ type YounggeeTalentBank struct {
|
|
|
UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` //
|
|
|
}
|
|
|
|
|
|
+// YounggeeTalentIncome is the golang structure for table younggee_talent_income.
|
|
|
+type YounggeeTalentIncome struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 递增id
|
|
|
+ TalentId string `orm:"talent_id" json:"talent_id"` // 达人id,对应youngee_talent_info中id字段
|
|
|
+ ProjectId string `orm:"project_id" json:"project_id"` // 项目id
|
|
|
+ SelectionId string `orm:"selection_id" json:"selection_id"` // 选品id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 任务id
|
|
|
+ SectaskId string `orm:"sectask_id" json:"sectask_id"` // 选品任务id
|
|
|
+ BrandName string `orm:"brand_name" json:"brand_name"` // 品牌名称
|
|
|
+ TaskName string `orm:"task_name" json:"task_name"` // 任务名称
|
|
|
+ TeamId string `orm:"team_id" json:"team_id"` // young之团id
|
|
|
+ Income float64 `orm:"income" json:"income"` // 收益金额
|
|
|
+ IncomeType int `orm:"income_type" json:"income_type"` // 收益类型,1-4分别表示任务收益、开团收益、样品返现、悬赏收益
|
|
|
+ WithdrawStatus int `orm:"withdraw_status" json:"withdraw_status"` // 提现状态,1-3分别表示可提现、提现中、已提现
|
|
|
+ IncomeAt *gtime.Time `orm:"income_at" json:"income_at"` // 收益产生时间
|
|
|
+ WithdrawAt *gtime.Time `orm:"withdraw_at" json:"withdraw_at"` // 提现时间
|
|
|
+ PhotoUrl string `orm:"photo_url" json:"photo_url"` // 商品主图
|
|
|
+ Type int `orm:"type" json:"type"` // 选品or项目,1:项目,2:选品
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeTalentPointRecord is the golang structure for table younggee_talent_point_record.
|
|
|
+type YounggeeTalentPointRecord struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 递增id
|
|
|
+ TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
|
|
|
+ PointIncome int `orm:"point_income" json:"point_income"` // 收益积分
|
|
|
+ IncomeSource string `orm:"income_source" json:"income_source"` // 收益来源
|
|
|
+ IncomeSourceId int `orm:"income_source_id" json:"income_source_id"` // 收益来源id
|
|
|
+ IncomeAt *gtime.Time `orm:"income_at" json:"income_at"` // 收益时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeTalentTeam is the golang structure for table younggee_talent_team.
|
|
|
+type YounggeeTalentTeam struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 递增id
|
|
|
+ TeamId string `orm:"team_id" json:"team_id"` // young之团id,10位随机数
|
|
|
+ TalentId string `orm:"talent_id" json:"talent_id"` // 团长达人id,对应youngee_talent_info中id字段
|
|
|
+ ProjectId string `orm:"project_id" json:"project_id"` // 项目id
|
|
|
+ SelectionId string `orm:"selection_id" json:"selection_id"` // 选品id
|
|
|
+ ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,1为项目,2为选品
|
|
|
+ ProjectName string `orm:"project_name" json:"project_name"` // 项目名称
|
|
|
+ ProjectPhoto string `orm:"project_photo" json:"project_photo"` // 项目主图
|
|
|
+ Platform int `orm:"platform" json:"platform"` // 项目平台
|
|
|
+ TeamStatus int `orm:"team_status" json:"team_status"` // young之团状态,1表示创建中,2表示开团中,3表示已结束
|
|
|
+ NumApply int `orm:"num_apply" json:"num_apply"` // 报名人数
|
|
|
+ NumApplySuccess int `orm:"num_apply_success" json:"num_apply_success"` // 申请成功人数
|
|
|
+ NumEnd int `orm:"num_end" json:"num_end"` // 结案人数
|
|
|
+ PointIncome int `orm:"point_income" json:"point_income"` // 积分收益
|
|
|
+ MoneyIncome float64 `orm:"money_income" json:"money_income"` // 现金收益
|
|
|
+ CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 成团时间
|
|
|
+ EndAt *gtime.Time `orm:"end_at" json:"end_at"` // 结束时间
|
|
|
+}
|
|
|
+
|
|
|
// YounggeeTaskLog is the golang structure for table younggee_task_log.
|
|
|
type YounggeeTaskLog struct {
|
|
|
LogId int `orm:"log_id,primary" json:"log_id"` // 任务日志id
|
|
@@ -1238,6 +1427,19 @@ type YounggeeTaskMessage struct {
|
|
|
Name string `orm:"name" json:"name"` // 银行名称
|
|
|
}
|
|
|
|
|
|
+// YounggeeTeamRewardConfig is the golang structure for table younggee_team_reward_config.
|
|
|
+type YounggeeTeamRewardConfig struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 自增id
|
|
|
+ ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,1、2分别为全流程项目、选品项目
|
|
|
+ Platform int `orm:"platform" json:"platform"` // 社媒平台
|
|
|
+ TaskForm int `orm:"task_form" json:"task_form"` // 任务形式,1-5为实体商品寄拍、虚拟产品测评、线下探店打卡、悬赏任务、纯佣带货;
|
|
|
+ ContentForm int `orm:"content_form" json:"content_form"` // 内容形式,1-3为图文、视频、直播
|
|
|
+ RewardReason int `orm:"reward_reason" json:"reward_reason"` // 奖励原因,1-4为成团-新用户、成团-老用户、成单-申请成功、成单-结案完毕
|
|
|
+ Point int `orm:"point" json:"point"` // 积分奖励
|
|
|
+ Money int `orm:"money" json:"money"` // 现金奖励,结算额百分比
|
|
|
+ CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
|
|
|
+}
|
|
|
+
|
|
|
// YounggeeUser is the golang structure for table younggee_user.
|
|
|
type YounggeeUser struct {
|
|
|
Id int `orm:"id,primary" json:"id"` // 用户表id
|
|
@@ -1260,7 +1462,8 @@ type YounggeeWithdrawRecord struct {
|
|
|
TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
|
|
|
WithdrawAmount float64 `orm:"withdraw_amount" json:"withdraw_amount"` // 提现金额
|
|
|
AmountPayable float64 `orm:"amount_payable" json:"amount_payable"` // 应付金额
|
|
|
- TaskIdList string `orm:"task_id_list" json:"task_id_list"` // 该提现订单包含的task_id列表
|
|
|
+ PayPoint int `orm:"pay_point" json:"pay_point"` // 抵扣积分
|
|
|
+ IncomeIdList string `orm:"income_id_list" json:"income_id_list"` // 该提现订单包含的income_id列表
|
|
|
ReceiveInfo string `orm:"receive_info" json:"receive_info"` // 收款信息
|
|
|
Status int `orm:"status" json:"status"` // 提现状态:1为提现待确认,2为已提现
|
|
|
BankType int `orm:"bank_type" json:"bank_type"` // 到账方式,1为支付宝,2为银行卡
|