|
@@ -63,23 +63,112 @@ type Brand struct {
|
|
|
|
|
|
// Enterprise is the golang structure for table enterprise.
|
|
|
type Enterprise struct {
|
|
|
- EnterpriseId int `orm:"enterprise_id,primary" json:"enterprise_id"` // 企业id
|
|
|
+ EnterpriseId string `orm:"enterprise_id,primary" json:"enterprise_id"` // 企业id,用户ID的生成规则为:1(企业用户代码)+分秒数字+四位随机数字
|
|
|
Industry int `orm:"industry" json:"industry"` // 行业,1-14分别代表能源、化工、材料、机械设备/军工、企业服务/造纸印刷、运输设备、旅游酒店、媒体/信息通信服务、批发/零售、消费品、卫生保健/医疗、金融、建材/建筑/房地产、公共事业
|
|
|
BusinessName string `orm:"business_name" json:"business_name"` // 公司或组织名称
|
|
|
UserId int `orm:"user_id,unique" json:"user_id"` // 对应用户id
|
|
|
- Balance int `orm:"balance" json:"balance"` // 账户余额
|
|
|
- FrozenBalance int `orm:"frozen_balance" json:"frozen_balance"` // 冻结余额
|
|
|
- AvailableBalance int `orm:"available_balance" json:"available_balance"` // 可用余额
|
|
|
+ Balance float64 `orm:"balance" json:"balance"` // 账户余额
|
|
|
+ FrozenBalance float64 `orm:"frozen_balance" json:"frozen_balance"` // 冻结余额
|
|
|
+ AvailableBalance float64 `orm:"available_balance" json:"available_balance"` // 可用余额
|
|
|
+ BillableAmount float64 `orm:"billable_amount" json:"billable_amount"` // 可开票金额
|
|
|
+ Invoicing float64 `orm:"invoicing" json:"invoicing"` // 开票中金额
|
|
|
+ Recharging float64 `orm:"recharging" json:"recharging"` // 充值中金额
|
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
|
|
|
}
|
|
|
|
|
|
+// EnterprisePayRecord is the golang structure for table enterprise_pay_record.
|
|
|
+type EnterprisePayRecord struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // id
|
|
|
+ Payment float64 `orm:"payment" json:"payment"` // 交易金额
|
|
|
+ Balance float64 `orm:"balance" json:"balance"` // 交易后账户可用余额
|
|
|
+ PayType int `orm:"pay_type" json:"pay_type"` // 交易类型,1表示充值,2表示支付
|
|
|
+ RechargeType int `orm:"recharge_type" json:"recharge_type"` // 充值方式,1表示在线交易,2表示对公转账
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
|
|
|
+ PayAt *gtime.Time `orm:"pay_at" json:"pay_at"` // 交易时间
|
|
|
+ ProjectId string `orm:"project_id" json:"project_id"` // 支付的项目id
|
|
|
+}
|
|
|
+
|
|
|
+// InfoAutoDefaultHandle is the golang structure for table info_auto_default_handle.
|
|
|
+type InfoAutoDefaultHandle struct {
|
|
|
+ AutoDefaultId int `orm:"auto_default_id,primary" json:"auto_default_id"` // 自动处理规则id
|
|
|
+ SketchReplaceNotUpload int `orm:"sketch_replace_not_upload" json:"sketch_replace_not_upload"` // 初稿违约 产品置换 未上传初稿
|
|
|
+ SketchReplaceTimeOut int `orm:"sketch_replace_time_out" json:"sketch_replace_time_out"` // 初稿违约 产品置换 超时未上传初稿
|
|
|
+ SketchOtherNotUpload int `orm:"sketch_other_not_upload" json:"sketch_other_not_upload"` // 初稿违约 自报价、固定稿费 未上传初稿
|
|
|
+ SketchOtherTimeOut int `orm:"sketch_other_time_out" json:"sketch_other_time_out"` // 初稿违约 自报价、固定稿费 超时未上传初稿
|
|
|
+ ScriptReplaceNotUpload int `orm:"script_replace_not_upload" json:"script_replace_not_upload"` // 脚本违约 产品置换 未上传脚本
|
|
|
+ ScriptReplaceTimeOut int `orm:"script_replace_time_out" json:"script_replace_time_out"` // 脚本违约 产品置换 超时未上传脚本
|
|
|
+ ScriptOtherNotUpload int `orm:"script_other_not_upload" json:"script_other_not_upload"` // 脚本违约 自报价、固定稿费 未上传脚本
|
|
|
+ ScriptOtherTimeOut int `orm:"script_other_time_out" json:"script_other_time_out"` // 脚本违约 自报价、固定稿费 超时未上传脚本
|
|
|
+ LinkReplaceNotUpload int `orm:"link_replace_not_upload" json:"link_replace_not_upload"` // 链接违约 产品置换 未上传链接
|
|
|
+ LinkReplaceTimeOut int `orm:"link_replace_time_out" json:"link_replace_time_out"` // 链接违约 产品置换 超时未上传链接
|
|
|
+ LinkOtherNotUpload int `orm:"link_other_not_upload" json:"link_other_not_upload"` // 链接违约 自报价、固定稿费 未上传链接
|
|
|
+ LinkOtherTimeOut int `orm:"link_other_time_out" json:"link_other_time_out"` // 链接违约 自报价、固定稿费 超时未上传链接
|
|
|
+ DataReplaceNotUpload int `orm:"data_replace_not_upload" json:"data_replace_not_upload"` // 数据违约 产品置换 未上传数据
|
|
|
+ DataReplaceTimeOut int `orm:"data_replace_time_out" json:"data_replace_time_out"` // 数据违约 产品置换 超时未上传数据
|
|
|
+ DataOtherNotUpload int `orm:"data_other_not_upload" json:"data_other_not_upload"` // 数据违约 自报价、固定稿费 未上传数据
|
|
|
+ DataOtherTimeOut int `orm:"data_other_time_out" json:"data_other_time_out"` // 数据违约 自报价、固定稿费 超时未上传数据
|
|
|
+}
|
|
|
+
|
|
|
+// InfoAutoTask is the golang structure for table info_auto_task.
|
|
|
+type InfoAutoTask struct {
|
|
|
+ AutoTaskId int `orm:"auto_task_id,primary" json:"auto_task_id"` // 自动处理规则id
|
|
|
+ SignInOffline int `orm:"sign_in_offline" json:"sign_in_offline"` // 线下探店自动签收时间
|
|
|
+ SignInVirtual int `orm:"sign_in_virtual" json:"sign_in_virtual"` // 虚拟产品测评自动签收时间
|
|
|
+ ReviewInMv int `orm:"review_in_mv" json:"review_in_mv"` // 视频形式的审稿处理
|
|
|
+ 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"` // 失效自动处理
|
|
|
+ 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"` // 结案违约自动处理
|
|
|
+}
|
|
|
+
|
|
|
+// InfoBank is the golang structure for table info_bank.
|
|
|
+type InfoBank struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 银行id
|
|
|
+ Name string `orm:"name" json:"name"` // 银行名称
|
|
|
+}
|
|
|
+
|
|
|
+// InfoMessage is the golang structure for table info_message.
|
|
|
+type InfoMessage struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 消息类型id
|
|
|
+ Text string `orm:"text" json:"text"` // 消息内容
|
|
|
+}
|
|
|
+
|
|
|
+// InfoPricingStrategy is the golang structure for table info_pricing_strategy.
|
|
|
+type InfoPricingStrategy struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // id
|
|
|
+ ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,0表示不限,1为全流程项目
|
|
|
+ StrategyId string `orm:"strategyId" json:"strategy_id"` // 定价策略编号
|
|
|
+ FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
|
|
|
+ Platform int `orm:"platform" json:"platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
|
|
|
+ FansLow int `orm:"fans_low" json:"fans_low"` // 对应粉丝量下限
|
|
|
+ FansUp int `orm:"fans_up" json:"fans_up"` // 对应粉丝量上限
|
|
|
+ ServiceCharge float64 `orm:"service_charge" json:"service_charge"` // 服务费,稿费形式为产品置换时填写,可以为空
|
|
|
+ BaseOffer float64 `orm:"base_offer" json:"base_offer"` // 基础报价
|
|
|
+ Status int `orm:"status" json:"status"` // 定价策略当前状态,0表示正常,1表示禁用
|
|
|
+ ServiceRate int `orm:"service_rate" json:"service_rate"` // 服务费率*1000,稿费形式为固定稿费和自报价时填写,可以为空
|
|
|
+ UpdateId int `orm:"update_id" json:"update_id"` // 修改管理人员id,对应user表中主键
|
|
|
+ UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 修改时间
|
|
|
+ CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
|
|
|
+}
|
|
|
+
|
|
|
// InfoProductClassify is the golang structure for table info_product_classify.
|
|
|
type InfoProductClassify struct {
|
|
|
ClassifyId int `orm:"classify_id,primary" json:"classify_id"` // 分类id
|
|
|
Classify string `orm:"classify" json:"classify"` // 分类名
|
|
|
}
|
|
|
|
|
|
+// InfoProductType is the golang structure for table info_product_type.
|
|
|
+type InfoProductType struct {
|
|
|
+ ProductTypeId int `orm:"product_type_id,primary" json:"product_type_id"` // 商品类型id
|
|
|
+ ProductType string `orm:"product_type" json:"product_type"` // 商品类型
|
|
|
+}
|
|
|
+
|
|
|
// InfoRegion is the golang structure for table info_region.
|
|
|
type InfoRegion struct {
|
|
|
RegionId uint `orm:"region_id,primary" json:"region_id"` //
|
|
@@ -107,6 +196,12 @@ type InfoTalentSkinType struct {
|
|
|
SkinTypeDescribe string `orm:"skin_type_describe" json:"skin_type_describe"` //
|
|
|
}
|
|
|
|
|
|
+// InfoTaskStage is the golang structure for table info_task_stage.
|
|
|
+type InfoTaskStage struct {
|
|
|
+ TaskStageId int `orm:"task_stage_id,primary" json:"task_stage_id"` // 任务阶段id
|
|
|
+ TaskStage string `orm:"task_stage" json:"task_stage"` // 任务阶段
|
|
|
+}
|
|
|
+
|
|
|
// InfoThirdPlatform is the golang structure for table info_third_platform.
|
|
|
type InfoThirdPlatform struct {
|
|
|
PlatformId uint `orm:"platform_id,primary" json:"platform_id"` // 平台id,主键
|
|
@@ -416,7 +511,7 @@ type Product struct {
|
|
|
ProductName string `orm:"product_name" json:"product_name"` // 商品名称
|
|
|
ProductType int `orm:"product_type" json:"product_type"` // 商品类型 1:实物 ,2:商品,3:线下
|
|
|
ProductClassify int `orm:"product_classify" json:"product_classify"` // 商品分类id(info_product_classifyh表id)
|
|
|
- ProductPrice int64 `orm:"product_price" json:"product_price"` // 商品价格
|
|
|
+ ProductPrice float64 `orm:"product_price" json:"product_price"` // 商品价格
|
|
|
ProductSpecification string `orm:"product_specification" json:"product_specification"` // 商品规格
|
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
CreatPeople string `orm:"creat_people" json:"creat_people"` // 创建人
|
|
@@ -438,22 +533,39 @@ type ProductPhoto struct {
|
|
|
|
|
|
// ProjectInfo is the golang structure for table project_info.
|
|
|
type ProjectInfo struct {
|
|
|
- ProjectId int `orm:"project_id,primary" json:"project_id"` // 项目id
|
|
|
- ProjectName string `orm:"project_name" json:"project_name"` // 项目名称
|
|
|
- ProjectStatus int `orm:"project_status" json:"project_status"` // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、失效、执行中、已结案
|
|
|
- ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,1代表全流程项目,2代表专项项目
|
|
|
- ProjectPlatform int `orm:"project_platform" json:"project_platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
|
|
|
- ProjectForm int `orm:"project_form" json:"project_form"` // 项目形式,1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
|
|
|
- TalentType string `orm:"talent_type" json:"talent_type"` // 达人类型
|
|
|
- RecruitDdl *gtime.Time `orm:"recruit_ddl" json:"recruit_ddl"` // 招募截止时间
|
|
|
- ContentType int `orm:"content_type" json:"content_type"` // 内容形式,1代表图文,2代表视频
|
|
|
- ProjectDetail string `orm:"project_detail" json:"project_detail"` // 项目详情
|
|
|
- ApplyNum int `orm:"apply_num" json:"apply_num"` // 报名人数
|
|
|
- RecruitNum int `orm:"recruit_num" json:"recruit_num"` // 已招募人数
|
|
|
- EnterpriseId int `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
|
|
|
- ProductId int `orm:"product_id" json:"product_id"` // 关联商品id
|
|
|
- CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
- UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 修改时间
|
|
|
+ ProjectId string `orm:"project_id,primary" json:"project_id"` // 项目id
|
|
|
+ ProjectName string `orm:"project_name" json:"project_name"` // 项目名称
|
|
|
+ ProjectStatus int `orm:"project_status" json:"project_status"` // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、失效、执行中、已结案
|
|
|
+ ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,1代表全流程项目,2代表专项项目
|
|
|
+ ProjectPlatform int `orm:"project_platform" json:"project_platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
|
|
|
+ ProjectForm int `orm:"project_form" json:"project_form"` // 项目形式,1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
|
|
|
+ TalentType string `orm:"talent_type" json:"talent_type"` // 达人类型
|
|
|
+ RecruitDdl *gtime.Time `orm:"recruit_ddl" json:"recruit_ddl"` // 招募截止时间
|
|
|
+ ContentType int `orm:"content_type" json:"content_type"` // 内容形式,1代表图文,2代表视频
|
|
|
+ ProjectDetail string `orm:"project_detail" json:"project_detail"` // 项目详情
|
|
|
+ ApplyNum int `orm:"apply_num" json:"apply_num"` // 报名人数
|
|
|
+ RecruitNum int `orm:"recruit_num" json:"recruit_num"` // 已招募人数
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
|
|
|
+ ProductId int `orm:"product_id" json:"product_id"` // 关联商品id
|
|
|
+ CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
+ UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 修改时间
|
|
|
+ FeeForm string `orm:"fee_form" json:"fee_form"` // 稿费形式列表
|
|
|
+ AutoFailAt *gtime.Time `orm:"auto_fail_at" json:"auto_fail_at"` // 失效自动处理时间
|
|
|
+ AutoTaskId int `orm:"auto_task_id" json:"auto_task_id"` // 定时任务id
|
|
|
+ AutoDefaultId int `orm:"auto_default_id" json:"auto_default_id"` // 违约状态id
|
|
|
+ PaymentAmount float64 `orm:"payment_amount" json:"payment_amount"` // 支付金额
|
|
|
+ PayAt *gtime.Time `orm:"pay_at" json:"pay_at"` // 支付时间
|
|
|
+ AutoScriptBreakAt *gtime.Time `orm:"auto_script_break_at" json:"auto_script_break_at"` // 脚本违约自动处理时间
|
|
|
+ AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
|
|
|
+ FailReason int `orm:"fail_reason" json:"fail_reason"` // 失效原因,1、2分别表示逾期未支付、项目存在风险
|
|
|
+ PassAt *gtime.Time `orm:"pass_at" json:"pass_at"` // 审核通过时间
|
|
|
+ FinishAt *gtime.Time `orm:"finish_at" json:"finish_at"` // 结案时间
|
|
|
+ EstimatedCost float64 `orm:"estimated_cost" json:"estimated_cost"` // 预估成本
|
|
|
+ IsRead int `orm:"is_read" json:"is_read"` // 是否已读
|
|
|
+ SettlementAmount float64 `orm:"settlement_amount" json:"settlement_amount"` // 结算金额
|
|
|
+ ProductSnap string `orm:"product_snap" json:"product_snap"` // 商品信息快照
|
|
|
+ ProductPhotoSnap string `orm:"product_photo_snap" json:"product_photo_snap"` // 商品图片快照
|
|
|
+ SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交审核时间
|
|
|
}
|
|
|
|
|
|
// ProjectPhoto is the golang structure for table project_photo.
|
|
@@ -461,7 +573,7 @@ type ProjectPhoto struct {
|
|
|
ProjectPhotoId int `orm:"project_photo_id,primary" json:"project_photo_id"` // 项目图片id
|
|
|
PhotoUrl string `orm:"photo_url" json:"photo_url"` // 图片url
|
|
|
PhotoUid string `orm:"photo_uid" json:"photo_uid"` //
|
|
|
- ProjectId int `orm:"project_id" json:"project_id"` // 所属项目id
|
|
|
+ ProjectId string `orm:"project_id" json:"project_id"` // 所属项目id
|
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
}
|
|
|
|
|
@@ -494,14 +606,29 @@ type RTalentPlatformTable struct {
|
|
|
|
|
|
// RecruitStrategy is the golang structure for table recruit_strategy.
|
|
|
type RecruitStrategy struct {
|
|
|
- RecruitStrategyId int `orm:"recruit_strategy_id,primary" json:"recruit_strategy_id"` // 招募策略id
|
|
|
- FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1-3分别代表产品置换、固定稿费、自报价
|
|
|
- StrategyId int `orm:"strategy_id" json:"strategy_id"` // 策略id
|
|
|
- FollowersLow int `orm:"followers_low" json:"followers_low"` // 达人粉丝数下限
|
|
|
- FollowersUp int `orm:"followers_up" json:"followers_up"` // 达人粉丝数上限
|
|
|
- RecruitNumber int `orm:"recruit_number" json:"recruit_number"` // 招募数量
|
|
|
- Offer int `orm:"offer" json:"offer"` // 报价
|
|
|
- ProjectId int `orm:"project_id" json:"project_id"` // 所属项目id
|
|
|
+ RecruitStrategyId int `orm:"recruit_strategy_id,primary" json:"recruit_strategy_id"` // 招募策略id
|
|
|
+ FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1-3分别代表产品置换、固定稿费、自报价
|
|
|
+ StrategyId int `orm:"strategy_id" json:"strategy_id"` // 策略id
|
|
|
+ FollowersLow int `orm:"followers_low" json:"followers_low"` // 达人粉丝数下限
|
|
|
+ FollowersUp int `orm:"followers_up" json:"followers_up"` // 达人粉丝数上限
|
|
|
+ RecruitNumber int `orm:"recruit_number" json:"recruit_number"` // 招募数量
|
|
|
+ Offer float64 `orm:"offer" json:"offer"` // 报价
|
|
|
+ TOffer float64 `orm:"t_offer" json:"t_offer"` // 达人所见报价
|
|
|
+ ProjectId string `orm:"project_id" json:"project_id"` // 所属项目id
|
|
|
+ ServiceCharge float64 `orm:"service_charge" json:"service_charge"` // 平台服务费,稿费形式为产品置换时必填
|
|
|
+ SelectedNumber int `orm:"selected_number" json:"selected_number"` // 已选数量,被企业选择的达人数量
|
|
|
+ WaitingNumber int `orm:"waiting_number" json:"waiting_number"` // 待发货
|
|
|
+ DeliveredNumber int `orm:"delivered_number" json:"delivered_number"` // 已发货
|
|
|
+ SignedNumber int `orm:"signed_number" json:"signed_number"` // 已签收
|
|
|
+ MaxOffer int `orm:"max_offer" json:"max_offer"` // 报价上限
|
|
|
+ MinOffer int `orm:"min_offer" json:"min_offer"` // 报价下限
|
|
|
+ FanNumber int `orm:"fan_number" json:"fan_number"` // 总粉丝量
|
|
|
+ PlayNumber int `orm:"play_number" json:"play_number"` // 总播放量
|
|
|
+ LikeNumber int `orm:"like_number" json:"like_number"` // 总点赞数
|
|
|
+ CollectNumber int `orm:"collect_number" json:"collect_number"` // 总收藏量
|
|
|
+ CommentNumber int `orm:"comment_number" json:"comment_number"` // 总评论数
|
|
|
+ FinishNumber int `orm:"finish_number" json:"finish_number"` // 结案数量
|
|
|
+ TotalOffer float64 `orm:"total_offer" json:"total_offer"` // 支付合计
|
|
|
}
|
|
|
|
|
|
// TalentDeliveryAddress is the golang structure for table talent_delivery_address.
|
|
@@ -761,6 +888,30 @@ type WxPayOrder struct {
|
|
|
Desc string `orm:"desc" json:"desc"` // 描述
|
|
|
}
|
|
|
|
|
|
+// YoungeeContractInfo is the golang structure for table youngee_contract_info.
|
|
|
+type YoungeeContractInfo struct {
|
|
|
+ ContractId int `orm:"contract_id,primary" json:"contract_id"` // 合约id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 任务id
|
|
|
+ ProjectId string `orm:"project_id" json:"project_id"` // 任务所属项目id
|
|
|
+ BreakType int `orm:"break_type" json:"break_type"` // 违约类型(4类严重违约):1(脚本)2(初稿)3(链接)4(数据)
|
|
|
+ SettlementAmount float64 `orm:"settlement_amount" json:"settlement_amount"` // 应结算金额
|
|
|
+ BreakAt *gtime.Time `orm:"break_at" json:"break_at"` // 违约时间
|
|
|
+ HandleAt *gtime.Time `orm:"handle_at" json:"handle_at"` // 处理时间
|
|
|
+ TerminateAt *gtime.Time `orm:"terminate_at" json:"terminate_at"` // 解约申请时间
|
|
|
+ DefaultStatus int `orm:"default_status" json:"default_status"` // 违约处理状态1-5分别表示为违约、已重新上传、解约待处理、解约已处理(驳回)、解约已处理(解约)
|
|
|
+}
|
|
|
+
|
|
|
+// YoungeeContractSet is the golang structure for table youngee_contract_set.
|
|
|
+type YoungeeContractSet struct {
|
|
|
+ BreakManageId int `orm:"break_manage_id,primary" json:"break_manage_id"` // 违约自动管理策略id
|
|
|
+ ProejctType int `orm:"proejct_type" json:"proejct_type"` // 项目类型:1:全流程 2:专项
|
|
|
+ ProjectForm int `orm:"project_form" json:"project_form"` // 任务形式:1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
|
|
|
+ FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式:1,2,3分别代表产品置换、固定稿费、自报价
|
|
|
+ BreakType *gtime.Time `orm:"break_type" json:"break_type"` // 违约类型:1-4:初稿、脚本、链接和数据
|
|
|
+ NouploadCutRatio *gtime.Time `orm:"noupload_cut_ratio" json:"noupload_cut_ratio"` // 未上传 扣款比例
|
|
|
+ NotimeuploadCutRatio *gtime.Time `orm:"notimeupload_cut_ratio" json:"notimeupload_cut_ratio"` // 未按照规定时间上传脚本 扣款比例
|
|
|
+}
|
|
|
+
|
|
|
// YoungeePlatformAccountInfo is the golang structure for table youngee_platform_account_info.
|
|
|
type YoungeePlatformAccountInfo struct {
|
|
|
AccountId int `orm:"account_id,primary" json:"account_id"` //
|
|
@@ -774,7 +925,7 @@ type YoungeePlatformAccountInfo struct {
|
|
|
Deleted int `orm:"deleted" json:"deleted"` // 是否被解绑
|
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
|
|
|
UpdatedPerson int `orm:"updated_person" json:"updated_person"` // 更新人,0代表本人,1代表管理员
|
|
|
- UpdatedAdminId int `orm:"updated_admin_id" json:"updated_admin_id"` // 上一次更新的管理员id
|
|
|
+ UpdatedAdminId string `orm:"updated_admin_id" json:"updated_admin_id"` // 上一次更新的管理员id
|
|
|
}
|
|
|
|
|
|
// YoungeeTalentDeliveryAddress is the golang structure for table youngee_talent_delivery_address.
|
|
@@ -786,7 +937,6 @@ type YoungeeTalentDeliveryAddress struct {
|
|
|
PhoneNumber string `orm:"phone_number" json:"phone_number"` // 联系电话
|
|
|
ReceiverName string `orm:"receiver_name" json:"receiver_name"` // 收货人名字
|
|
|
DefaultTag int `orm:"default_tag" json:"default_tag"` // 是否默认收货地址
|
|
|
- MailCode string `orm:"mail_code" json:"mail_code"` // 邮政编码
|
|
|
}
|
|
|
|
|
|
// YoungeeTalentInfo is the golang structure for table youngee_talent_info.
|
|
@@ -794,17 +944,16 @@ type YoungeeTalentInfo struct {
|
|
|
Id string `orm:"id,primary" json:"id"` // 达人id
|
|
|
TalentWxOpenid string `orm:"talent_wx_openid" json:"talent_wx_openid"` // 达人的微信openid
|
|
|
TalentWxNickname string `orm:"talent_wx_nickname" json:"talent_wx_nickname"` // 达人的微信昵称
|
|
|
- TalentWxNumber string `orm:"talent_wx_number" json:"talent_wx_number"` // 达人微信号
|
|
|
- Income int64 `orm:"income" json:"income"` // 收益总数
|
|
|
- Withdrawing int64 `orm:"withdrawing" json:"withdrawing"` // 提现中金额
|
|
|
- Canwithdraw int64 `orm:"canwithdraw" json:"canwithdraw"` // 可提现金额
|
|
|
- Withdrawed int64 `orm:"withdrawed" json:"withdrawed"` // 已提现金额
|
|
|
- TalentGender int `orm:"talent_gender" json:"talent_gender"` // 性别,0未知 1男 2女
|
|
|
+ Income float64 `orm:"income" json:"income"` // 收益总数
|
|
|
+ Withdrawing float64 `orm:"withdrawing" json:"withdrawing"` // 提现中金额
|
|
|
+ Canwithdraw float64 `orm:"canwithdraw" json:"canwithdraw"` // 可提现金额
|
|
|
+ Withdrawed float64 `orm:"withdrawed" json:"withdrawed"` // 已提现金额
|
|
|
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
|
|
|
VisitStoreRegion int `orm:"visit_store_region" json:"visit_store_region"` // 探店区域,取region_info表中的self_code
|
|
|
IsBindInfo uint `orm:"is_bind_info" json:"is_bind_info"` // 是否填写个人资料
|
|
|
+ IsBindAccount int `orm:"is_bind_account" json:"is_bind_account"` // 是否绑定账号,1是0否
|
|
|
IsBindLocation uint `orm:"is_bind_location" json:"is_bind_location"` // 是否绑定收货地址
|
|
|
IsBindBank uint `orm:"is_bind_bank" json:"is_bind_bank"` // 是否绑定银行账户信息
|
|
|
InBlacklist uint `orm:"in_blacklist" json:"in_blacklist"` // 是否加入黑名单 0否 1是
|
|
@@ -814,24 +963,159 @@ type YoungeeTalentInfo struct {
|
|
|
TaskEnd int `orm:"task_end" json:"task_end"` // 结束任务数量
|
|
|
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"` // 剩余申请次数(每天更新)
|
|
|
}
|
|
|
|
|
|
// YoungeeTaskInfo is the golang structure for table youngee_task_info.
|
|
|
type YoungeeTaskInfo struct {
|
|
|
- TaskId uint64 `orm:"task_id,primary" json:"task_id"` // 任务id
|
|
|
- ProjectId int `orm:"project_id" json:"project_id"` // 项目id
|
|
|
+ TaskId string `orm:"task_id,primary" json:"task_id"` // 任务id
|
|
|
+ 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
|
|
|
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 int64 `orm:"task_reward" json:"task_reward"` // 任务奖励金额
|
|
|
- SettleAmount int64 `orm:"settle_amount" json:"settle_amount"` // 待结算金额(任务奖励扣除违规扣款)
|
|
|
- TaskStatus int `orm:"task_status" json:"task_status"` // 任务状态
|
|
|
+ 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"` // 企业实际支付(扣除违约扣款)
|
|
|
+ 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"` // 服务费率,千分之
|
|
|
+ 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"` // 反选时间
|
|
|
- CompleteStatus int `orm:"complete_status" json:"complete_status"` // 结束方式 1未结束 2正常结束 3反选失败 4被解约
|
|
|
+ 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分别代表待添加、已添加、待修改、已修改、已通过
|
|
|
+ CurDefaultType int `orm:"cur_default_type" json:"cur_default_type"` // 任务当前处于的违约类型 0-10分别表示未违约、脚本超时违约、脚本未上传违约、初稿超时违约、初稿未上传违约、链接超时违约、链接未上传违约、数据超时违约、数据未上传违约、解约待处理、解约
|
|
|
+ WithdrawStatus int `orm:"withdraw_status" json:"withdraw_status"` // 提现状态,1-4分别代表不可提现、可提现、提现中、已提现
|
|
|
+}
|
|
|
+
|
|
|
+// YoungeeTaskLogistics is the golang structure for table youngee_task_logistics.
|
|
|
+type YoungeeTaskLogistics struct {
|
|
|
+ LogisticsId int `orm:"logistics_id,primary" json:"logistics_id"` // 货物-id
|
|
|
+ CompanyName string `orm:"company_name" json:"company_name"` // 实物商品-物流公司名称
|
|
|
+ LogisticsNumber string `orm:"logistics_number" json:"logistics_number"` // 实物商品-物流单号
|
|
|
+ ExplorestoreStarttime *gtime.Time `orm:"explorestore_starttime" json:"explorestore_starttime"` // 线下探店-探店开始时间
|
|
|
+ ExplorestoreEndtime *gtime.Time `orm:"explorestore_endtime" json:"explorestore_endtime"` // 线下探店-探店结束时间
|
|
|
+ ExplorestorePeriod string `orm:"explorestore_period" json:"explorestore_period"` // 线下探店-探店持续时间
|
|
|
+ CouponCodeInformation string `orm:"coupon_code_information" json:"coupon_code_information"` // 虚拟产品-券码信息
|
|
|
+ TaskId string `orm:"task_id,unique" json:"task_id"` // 任务id
|
|
|
+ DeliveryTime *gtime.Time `orm:"delivery_time" json:"delivery_time"` // 发货时间
|
|
|
+ ThingsType int `orm:"things_type" json:"things_type"` // 任务类型:1 实物,2:线下探店,3:虚拟产品
|
|
|
+ SignedTime *gtime.Time `orm:"signed_time" json:"signed_time"` // 实物商品-签收时间
|
|
|
+ AutoSignAt *gtime.Time `orm:"auto_sign_at" json:"auto_sign_at"` // 自动签收时间
|
|
|
+ AutoScriptBreakAt *gtime.Time `orm:"auto_script_break_at" json:"auto_script_break_at"` // 脚本违约自动处理时间
|
|
|
+ AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
|
|
|
+ Status int `orm:"status" json:"status"` // 签收状态,0为未签收,1为已签收
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeDataInfo is the golang structure for table younggee_data_info.
|
|
|
+type YounggeeDataInfo struct {
|
|
|
+ DataId int `orm:"data_id,primary" json:"data_id"` // 脚本id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 任务id
|
|
|
+ PlayNumber int `orm:"play_number" json:"play_number"` // 播放量/阅读量
|
|
|
+ LikeNumber int `orm:"like_number" json:"like_number"` // 点赞数
|
|
|
+ CommentNumber int `orm:"comment_number" json:"comment_number"` // 评论数
|
|
|
+ CollectNumber int `orm:"collect_number" json:"collect_number"` // 收藏数
|
|
|
+ PhotoUrl string `orm:"photo_url" json:"photo_url"` // 数据截图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"` // 驳回时间
|
|
|
+ AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 结案自动处理时间
|
|
|
+ AutoDataBreakAt *gtime.Time `orm:"auto_data_break_at" json:"auto_data_break_at"` // 结案违约自动处理时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeInvoiceAddress is the golang structure for table younggee_invoice_address.
|
|
|
+type YounggeeInvoiceAddress struct {
|
|
|
+ AddressId int `orm:"address_id,primary" json:"address_id"` // 发票收件地址id
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
|
|
|
+ Name string `orm:"name" json:"name"` // 收件人姓名
|
|
|
+ RegionCode string `orm:"region_code" json:"region_code"` // 所在地区编码
|
|
|
+ Address string `orm:"address" json:"address"` // 详细地址
|
|
|
+ Phone string `orm:"phone" json:"phone"` // 手机号码
|
|
|
+ UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 创建时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeInvoiceInfo is the golang structure for table younggee_invoice_info.
|
|
|
+type YounggeeInvoiceInfo struct {
|
|
|
+ InvoiceId int `orm:"invoice_id,primary" json:"invoice_id"` // 发票信息id
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
|
|
|
+ HeadType string `orm:"head_type" json:"head_type"` // 抬头类型
|
|
|
+ InvoiceHeader string `orm:"invoice_header" json:"invoice_header"` // 发票抬头
|
|
|
+ InvoiceType string `orm:"invoice_type" json:"invoice_type"` // 发票类型
|
|
|
+ TaxCode string `orm:"tax_code" json:"tax_code"` // 税务登记证号/统一社会信用代码
|
|
|
+ Bank string `orm:"bank" json:"bank"` // 基本户开户银行
|
|
|
+ BankCardNumber string `orm:"bank_card_number" json:"bank_card_number"` // 基本户开户银行账号
|
|
|
+ RegisteredAddress string `orm:"registered_address" json:"registered_address"` // 企业注册地址
|
|
|
+ RegisteredPhone string `orm:"registered_phone" json:"registered_phone"` // 企业注册电话
|
|
|
+ UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 更新时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeInvoiceRecord is the golang structure for table younggee_invoice_record.
|
|
|
+type YounggeeInvoiceRecord struct {
|
|
|
+ BillingId string `orm:"billing_id,primary" json:"billing_id"` // 开票订单ID
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
|
|
|
+ InvoiceType string `orm:"invoice_type" json:"invoice_type"` // 发票类型
|
|
|
+ InvoiceAmount float64 `orm:"invoice_amount" json:"invoice_amount"` // 开票金额
|
|
|
+ InvoiceSnap string `orm:"invoice_snap" json:"invoice_snap"` // 开票信息快照
|
|
|
+ AddressSnap string `orm:"address_snap" json:"address_snap"` // 邮寄地址快照
|
|
|
+ Phone string `orm:"phone" json:"phone"` // 联系方式
|
|
|
+ Status int `orm:"status" json:"status"` // 开票状态:1 为待开票,2为已开票
|
|
|
+ ShipmentNumber string `orm:"shipment_number" json:"shipment_number"` // 物流单号
|
|
|
+ SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 申请提交时间
|
|
|
+ BillingAt *gtime.Time `orm:"billing_at" json:"billing_at"` // 开票时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeLinkInfo is the golang structure for table younggee_link_info.
|
|
|
+type YounggeeLinkInfo struct {
|
|
|
+ LinkId int `orm:"link_id,primary" json:"link_id"` // 链接id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 任务id
|
|
|
+ LinkUrl string `orm:"link_url" json:"link_url"` // 上传链接url
|
|
|
+ PhotoUrl string `orm:"photo_url" json:"photo_url"` // 上传截图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"` // 驳回时间
|
|
|
+ AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 发布审核自动处理时间
|
|
|
+ AutoDataBreakAt *gtime.Time `orm:"auto_data_break_at" json:"auto_data_break_at"` // 结案违约自动处理时间
|
|
|
+ AutoLinkBreakAt *gtime.Time `orm:"auto_link_break_at" json:"auto_link_break_at"` // 链接违约自动处理时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeMessageInfo is the golang structure for table younggee_message_info.
|
|
|
+type YounggeeMessageInfo struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // id,递增
|
|
|
+ MessageId int `orm:"message_id" json:"message_id"` // 消息内容id,对应info_message
|
|
|
+ MessageType int `orm:"message_type" json:"message_type"` // 消息类型,1-4分别表示成功、通知、错误、警告
|
|
|
+ TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
|
|
|
+ ProjectName string `orm:"project_name" json:"project_name"` // 项目名称
|
|
|
+ CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 消息创建时间
|
|
|
+ IsReaded int `orm:"is_readed" json:"is_readed"` // 是否已读,1表示未读,2表示已读
|
|
|
+ IsDeleted int `orm:"is_deleted" json:"is_deleted"` // 是否删除,1表示未删,2表示已删
|
|
|
}
|
|
|
|
|
|
// YounggeeProduct is the golang structure for table younggee_product.
|
|
@@ -840,10 +1124,10 @@ type YounggeeProduct struct {
|
|
|
ProductName string `orm:"product_name" json:"product_name"` // 商品名称
|
|
|
ProductType int `orm:"product_type" json:"product_type"` // 商品类型
|
|
|
ShopAddress string `orm:"shop_address" json:"shop_address"` // 店铺地址,商品类型为线下品牌时需填写
|
|
|
- ProductPrice int64 `orm:"product_price" json:"product_price"` // 商品价值
|
|
|
+ ProductPrice float64 `orm:"product_price" json:"product_price"` // 商品价值
|
|
|
ProductDetail string `orm:"product_detail" json:"product_detail"` //
|
|
|
ProductUrl string `orm:"product_url" json:"product_url"` // 商品链接,可为电商网址、公司官网、大众点评的店铺地址等可以说明商品信息或者品牌信息的线上地址;
|
|
|
- EnterpriseId int `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
|
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
|
|
|
BrandName string `orm:"brand_name" json:"brand_name"` //
|
|
@@ -859,6 +1143,100 @@ type YounggeeProductPhoto struct {
|
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
}
|
|
|
|
|
|
+// YounggeeRechargeRecord is the golang structure for table younggee_recharge_record.
|
|
|
+type YounggeeRechargeRecord struct {
|
|
|
+ RechargeId string `orm:"recharge_id,primary" json:"recharge_id"` // 充值订单ID
|
|
|
+ EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
|
|
|
+ RechargeAmount float64 `orm:"recharge_amount" json:"recharge_amount"` // 充值金额
|
|
|
+ TransferVoucherUrl string `orm:"transfer_voucher_url" json:"transfer_voucher_url"` // 转账凭证图片链接
|
|
|
+ Phone string `orm:"phone" json:"phone"` // 联系方式
|
|
|
+ RechargeMethod int `orm:"recharge_method" json:"recharge_method"` // 充值方式:1为对公转账,2为支付宝在线支付,3为微信支付
|
|
|
+ Status int `orm:"status" json:"status"` // 充值状态:1为充值待确认,2为充值已确认
|
|
|
+ InvoiceStatus int `orm:"invoice_status" json:"invoice_status"` // 开票状态:1为充值中,2为待开票,3为已开票
|
|
|
+ CommitAt *gtime.Time `orm:"commit_at" json:"commit_at"` // 充值申请提交时间
|
|
|
+ ConfirmAt *gtime.Time `orm:"confirm_at" json:"confirm_at"` // 充值确认时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeScriptInfo is the golang structure for table younggee_script_info.
|
|
|
+type YounggeeScriptInfo struct {
|
|
|
+ ScriptId int `orm:"script_id,primary" json:"script_id"` // 脚本id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 任务id
|
|
|
+ Title string `orm:"title" json:"title"` // 脚本标题
|
|
|
+ Content string `orm:"content" json:"content"` // 脚本内容
|
|
|
+ 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"` // 驳回时间
|
|
|
+ AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 脚本自动审核时间
|
|
|
+ AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
|
|
|
+ AutoScriptBreakAt *gtime.Time `orm:"auto_script_break_at" json:"auto_script_break_at"` // 脚本违约自动处理时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeSketchInfo is the golang structure for table younggee_sketch_info.
|
|
|
+type YounggeeSketchInfo struct {
|
|
|
+ SketchId int `orm:"sketch_id,primary" json:"sketch_id"` // 初稿id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 任务id
|
|
|
+ Title string `orm:"title" json:"title"` // 标题
|
|
|
+ Type int `orm:"type" json:"type"` // 初稿形式,1为图片,2为视频
|
|
|
+ Content string `orm:"content" json:"content"` // 正文
|
|
|
+ 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"` // 创建时间
|
|
|
+ AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
|
|
|
+ RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
|
|
|
+ SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
|
|
|
+ AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 初稿自动审核时间
|
|
|
+ AutoLinkBreakAt *gtime.Time `orm:"auto_link_break_at" json:"auto_link_break_at"` // 链接违约自动处理时间
|
|
|
+ AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeSketchPhoto is the golang structure for table younggee_sketch_photo.
|
|
|
+type YounggeeSketchPhoto struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 脚本id
|
|
|
+ SketchId int `orm:"sketch_id" json:"sketch_id"` //
|
|
|
+ PhotoUrl string `orm:"photo_url" json:"photo_url"` //
|
|
|
+ PhotoUid string `orm:"photo_uid" json:"photo_uid"` //
|
|
|
+ Symbol int `orm:"symbol" json:"symbol"` // 1是图片,2是视频
|
|
|
+ CreateAt *gtime.Time `orm:"create_at" json:"create_at"` //
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeTalentBank is the golang structure for table younggee_talent_bank.
|
|
|
+type YounggeeTalentBank struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // id
|
|
|
+ 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"` // 手机号
|
|
|
+ BankId string `orm:"bank_id" json:"bank_id"` // 银行id,取info_bank表中的bank_id字段值
|
|
|
+ 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"` // 支付宝账号
|
|
|
+ AlipayRealName string `orm:"alipay_real_name" json:"alipay_real_name"` // 支付宝真实姓名
|
|
|
+ AlipayCardId string `orm:"alipay_card_id" json:"alipay_card_id"` // 支付宝身份证号
|
|
|
+ BankCardId string `orm:"bank_card_id" json:"bank_card_id"` // 银行卡身份证号
|
|
|
+ CreateAt *gtime.Time `orm:"create_at" json:"create_at"` //
|
|
|
+ UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` //
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeTaskLog is the golang structure for table younggee_task_log.
|
|
|
+type YounggeeTaskLog struct {
|
|
|
+ LogId int `orm:"log_id,primary" json:"log_id"` // 任务日志id
|
|
|
+ TaskId string `orm:"task_id" json:"task_id"` // 任务id
|
|
|
+ Content string `orm:"content" json:"content"` // 内容
|
|
|
+ LogAt *gtime.Time `orm:"log_at" json:"log_at"` // 时间
|
|
|
+}
|
|
|
+
|
|
|
+// YounggeeTaskMessage is the golang structure for table younggee_task_message.
|
|
|
+type YounggeeTaskMessage struct {
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 银行id
|
|
|
+ Name string `orm:"name" json:"name"` // 银行名称
|
|
|
+}
|
|
|
+
|
|
|
// YounggeeUser is the golang structure for table younggee_user.
|
|
|
type YounggeeUser struct {
|
|
|
Id int `orm:"id,primary" json:"id"` // 用户表id
|
|
@@ -874,3 +1252,17 @@ type YounggeeUser struct {
|
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
|
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
|
|
|
}
|
|
|
+
|
|
|
+// YounggeeWithdrawRecord is the golang structure for table younggee_withdraw_record.
|
|
|
+type YounggeeWithdrawRecord struct {
|
|
|
+ WithdrawId string `orm:"withdraw_id,primary" json:"withdraw_id"` // 提现订单ID
|
|
|
+ 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列表
|
|
|
+ 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为银行卡
|
|
|
+ SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 申请提交时间
|
|
|
+ WithdrawAt *gtime.Time `orm:"withdraw_at" json:"withdraw_at"` // 提现时间
|
|
|
+}
|