model.go 134 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479
  1. // =================================================================================
  2. // Code generated by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package model
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. //抖音授权info_auth表内容
  9. type AuthInfo struct {
  10. Id int `json:"id" orm:"id,primary"`
  11. Code string `json:"code" orm:"code"`
  12. State string `json:"state" orm:"state"`
  13. }
  14. // BobocoinDeductRecord is the golang structure for table bobocoin_deduct_record.
  15. type BobocoinDeductRecord struct {
  16. RecordId uint64 `orm:"record_id,primary" json:"record_id"` // 扣费记录ID
  17. TalentId int `orm:"talent_id" json:"talent_id"` // 达人id
  18. BobocoinValue int64 `orm:"bobocoin_value" json:"bobocoin_value"` // 冻结的卜卜币数量(真实数量 * 100)
  19. OrderId uint64 `orm:"order_id" json:"order_id"` // 订单id,如果是订单执行产生的扣费,则有值
  20. ProcedureStage int `orm:"procedure_stage" json:"procedure_stage"` // 订单的执行步骤,如果是订单产生的扣费,则有此值
  21. Reason int `orm:"reason" json:"reason"` // 扣费原因 1任务超期冻结 2拍单费用 3延期发放
  22. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  23. OperationStage string `orm:"operation_stage" json:"operation_stage"` // 扣款步骤名称
  24. TaskName string `orm:"task_name" json:"task_name"` // 任务名称(冗余)
  25. }
  26. // BobocoinIncomeRecord is the golang structure for table bobocoin_income_record.
  27. type BobocoinIncomeRecord struct {
  28. RecordId uint64 `orm:"record_id,primary" json:"record_id"` // 记录id,主键,自增
  29. BobocoinValue int64 `orm:"bobocoin_value" json:"bobocoin_value"` // 收入的卜卜币数量
  30. OrderId int `orm:"order_id" json:"order_id"` // 获得卜卜币的订单id
  31. RecruitLevelId int `orm:"recruit_level_id" json:"recruit_level_id"` // 获得卜卜币的任务的招募级别
  32. TalentId int `orm:"talent_id" json:"talent_id"` // 达人id
  33. CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 添加时间(订单完成时间,需要和bobocoin_withdrawal_record表中的打款完成时间字段名一致,因为要以时间排序
  34. TaskName string `orm:"task_name" json:"task_name"` // 任务名称(冗余)
  35. }
  36. // BobocoinWithdrawalRecord is the golang structure for table bobocoin_withdrawal_record.
  37. type BobocoinWithdrawalRecord struct {
  38. RecordId int64 `orm:"record_id,primary" json:"record_id"` // 提现单号
  39. TalentId int `orm:"talent_id" json:"talent_id"` // 发起提现的达人id
  40. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  41. DrawAmount int64 `orm:"draw_amount" json:"draw_amount"` // 提现金额
  42. PayState int `orm:"pay_state" json:"pay_state"` // 支付状态 1未支付 2支付成功 3支付失败
  43. PayFailReason string `orm:"pay_fail_reason" json:"pay_fail_reason"` // 支付失败原因
  44. CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 打款时间
  45. PayPlatform int `orm:"pay_platform" json:"pay_platform"` // 支付平台,如支付宝
  46. PayAccount string `orm:"pay_account" json:"pay_account"` // 支付账户
  47. AccountName string `orm:"account_name" json:"account_name"` // 账户姓名
  48. }
  49. // Brand is the golang structure for table brand.
  50. type Brand struct {
  51. BrandId int `orm:"brand_id,primary" json:"brand_id"` // 品牌信息id
  52. BrandName string `orm:"brand_name" json:"brand_name"` // 品牌名称
  53. BrandLogo string `orm:"brand_logo" json:"brand_logo"` // 品牌logo链接地址
  54. BrandInfo string `orm:"brand_info" json:"brand_info"` // 品牌信息简介
  55. BrandPerson string `orm:"brand_person" json:"brand_person"` // 品牌对接人
  56. BrandContact string `orm:"brand_contact" json:"brand_contact"` // 品牌对接人联系方式
  57. BrandTitle string `orm:"brand_title" json:"brand_title"` // 品牌对接人职称
  58. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  59. CreatPeople string `orm:"creat_people" json:"creat_people"` // 创建人
  60. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  61. UpdatePeople string `orm:"update_people" json:"update_people"` // 更新人
  62. }
  63. // Enterprise is the golang structure for table enterprise.
  64. type Enterprise struct {
  65. EnterpriseId string `orm:"enterprise_id,primary" json:"enterprise_id"` // 企业id,用户ID的生成规则为:1(企业用户代码)+分秒数字+四位随机数字
  66. Industry int `orm:"industry" json:"industry"` // 行业,1-14分别代表能源、化工、材料、机械设备/军工、企业服务/造纸印刷、运输设备、旅游酒店、媒体/信息通信服务、批发/零售、消费品、卫生保健/医疗、金融、建材/建筑/房地产、公共事业
  67. BusinessName string `orm:"business_name" json:"business_name"` // 公司或组织名称
  68. UserId int `orm:"user_id,unique" json:"user_id"` // 对应用户id
  69. Balance float64 `orm:"balance" json:"balance"` // 账户余额
  70. FrozenBalance float64 `orm:"frozen_balance" json:"frozen_balance"` // 冻结余额
  71. AvailableBalance float64 `orm:"available_balance" json:"available_balance"` // 可用余额
  72. BillableAmount float64 `orm:"billable_amount" json:"billable_amount"` // 可开票金额
  73. Invoicing float64 `orm:"invoicing" json:"invoicing"` // 开票中金额
  74. Recharging float64 `orm:"recharging" json:"recharging"` // 充值中金额
  75. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  76. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  77. }
  78. // EnterprisePayRecord is the golang structure for table enterprise_pay_record.
  79. type EnterprisePayRecord struct {
  80. Id int `orm:"id,primary" json:"id"` // id
  81. Payment float64 `orm:"payment" json:"payment"` // 交易金额
  82. Balance float64 `orm:"balance" json:"balance"` // 交易后账户可用余额
  83. PayType int `orm:"pay_type" json:"pay_type"` // 交易类型,1表示充值,2表示支付
  84. RechargeType int `orm:"recharge_type" json:"recharge_type"` // 充值方式,1表示在线交易,2表示对公转账
  85. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
  86. PayAt *gtime.Time `orm:"pay_at" json:"pay_at"` // 交易时间
  87. ProjectId string `orm:"project_id" json:"project_id"` // 支付的项目id
  88. }
  89. // InfoAutoDefaultHandle is the golang structure for table info_auto_default_handle.
  90. type InfoAutoDefaultHandle struct {
  91. AutoDefaultId int `orm:"auto_default_id,primary" json:"auto_default_id"` // 自动处理规则id
  92. SketchReplaceNotUpload int `orm:"sketch_replace_not_upload" json:"sketch_replace_not_upload"` // 初稿违约 产品置换 未上传初稿
  93. SketchReplaceTimeOut int `orm:"sketch_replace_time_out" json:"sketch_replace_time_out"` // 初稿违约 产品置换 超时未上传初稿
  94. SketchOtherNotUpload int `orm:"sketch_other_not_upload" json:"sketch_other_not_upload"` // 初稿违约 自报价、固定稿费 未上传初稿
  95. SketchOtherTimeOut int `orm:"sketch_other_time_out" json:"sketch_other_time_out"` // 初稿违约 自报价、固定稿费 超时未上传初稿
  96. ScriptReplaceNotUpload int `orm:"script_replace_not_upload" json:"script_replace_not_upload"` // 脚本违约 产品置换 未上传脚本
  97. ScriptReplaceTimeOut int `orm:"script_replace_time_out" json:"script_replace_time_out"` // 脚本违约 产品置换 超时未上传脚本
  98. ScriptOtherNotUpload int `orm:"script_other_not_upload" json:"script_other_not_upload"` // 脚本违约 自报价、固定稿费 未上传脚本
  99. ScriptOtherTimeOut int `orm:"script_other_time_out" json:"script_other_time_out"` // 脚本违约 自报价、固定稿费 超时未上传脚本
  100. LinkReplaceNotUpload int `orm:"link_replace_not_upload" json:"link_replace_not_upload"` // 链接违约 产品置换 未上传链接
  101. LinkReplaceTimeOut int `orm:"link_replace_time_out" json:"link_replace_time_out"` // 链接违约 产品置换 超时未上传链接
  102. LinkOtherNotUpload int `orm:"link_other_not_upload" json:"link_other_not_upload"` // 链接违约 自报价、固定稿费 未上传链接
  103. LinkOtherTimeOut int `orm:"link_other_time_out" json:"link_other_time_out"` // 链接违约 自报价、固定稿费 超时未上传链接
  104. DataReplaceNotUpload int `orm:"data_replace_not_upload" json:"data_replace_not_upload"` // 数据违约 产品置换 未上传数据
  105. DataReplaceTimeOut int `orm:"data_replace_time_out" json:"data_replace_time_out"` // 数据违约 产品置换 超时未上传数据
  106. DataOtherNotUpload int `orm:"data_other_not_upload" json:"data_other_not_upload"` // 数据违约 自报价、固定稿费 未上传数据
  107. DataOtherTimeOut int `orm:"data_other_time_out" json:"data_other_time_out"` // 数据违约 自报价、固定稿费 超时未上传数据
  108. }
  109. // InfoAutoTask is the golang structure for table info_auto_task.
  110. type InfoAutoTask struct {
  111. AutoTaskId int `orm:"auto_task_id,primary" json:"auto_task_id"` // 自动处理规则id
  112. SignInOffline int `orm:"sign_in_offline" json:"sign_in_offline"` // 线下探店自动签收时间
  113. SignInVirtual int `orm:"sign_in_virtual" json:"sign_in_virtual"` // 虚拟产品测评自动签收时间
  114. ReviewInMv int `orm:"review_in_mv" json:"review_in_mv"` // 视频形式的审稿处理
  115. ReviewUnlimited int `orm:"review_unlimited" json:"review_unlimited"` // 不限形式的审稿处理
  116. Postreview int `orm:"postreview" json:"postreview"` // 发布审核自动处理
  117. CaseClose int `orm:"case_close" json:"case_close"` // 结案自动处理
  118. Invalid int `orm:"invalid" json:"invalid"` // 全流程项目失效自动处理
  119. DraftDefaultInPic int `orm:"draft_default_in_pic" json:"draft_default_in_pic"` // 图片初稿违约自动处理
  120. DraftDefaultInMv int `orm:"draft_default_in_mv" json:"draft_default_in_mv"` // 视频初稿违约自动处理
  121. ScriptDefault int `orm:"script_default" json:"script_default"` // 脚本违约自动处理
  122. LinkBreach int `orm:"link_breach" json:"link_breach"` // 链接违约自动处理
  123. CaseCloseDefault int `orm:"case_close_default" json:"case_close_default"` // 结案违约自动处理
  124. Selectioninvalid int `orm:"selectioninvalid" json:"selectioninvalid"` // 选品项目失效自动处理
  125. }
  126. // InfoBank is the golang structure for table info_bank.
  127. type InfoBank struct {
  128. Id int `orm:"id,primary" json:"id"` // 银行id
  129. Name string `orm:"name" json:"name"` // 银行名称
  130. }
  131. // InfoMessage is the golang structure for table info_message.
  132. type InfoMessage struct {
  133. Id int `orm:"id,primary" json:"id"` // 消息类型id
  134. Text string `orm:"text" json:"text"` // 消息内容
  135. }
  136. // InfoPricingStrategy is the golang structure for table info_pricing_strategy.
  137. type InfoPricingStrategy struct {
  138. Id int `orm:"id,primary" json:"id"` // id
  139. ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,0表示不限,1为全流程项目
  140. StrategyId string `orm:"strategyId" json:"strategy_id"` // 定价策略编号
  141. FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
  142. Platform int `orm:"platform" json:"platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
  143. FansLow int `orm:"fans_low" json:"fans_low"` // 对应粉丝量下限
  144. FansUp int `orm:"fans_up" json:"fans_up"` // 对应粉丝量上限
  145. ServiceCharge float64 `orm:"service_charge" json:"service_charge"` // 服务费,稿费形式为产品置换时填写,可以为空
  146. BaseOffer float64 `orm:"base_offer" json:"base_offer"` // 基础报价
  147. Status int `orm:"status" json:"status"` // 定价策略当前状态,0表示正常,1表示禁用
  148. ServiceRate int `orm:"service_rate" json:"service_rate"` // 服务费率*1000,稿费形式为固定稿费和自报价时填写,可以为空
  149. UpdateId int `orm:"update_id" json:"update_id"` // 修改管理人员id,对应user表中主键
  150. UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 修改时间
  151. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  152. }
  153. // InfoProductClassify is the golang structure for table info_product_classify.
  154. type InfoProductClassify struct {
  155. ClassifyId int `orm:"classify_id,primary" json:"classify_id"` // 分类id
  156. Classify string `orm:"classify" json:"classify"` // 分类名
  157. }
  158. // InfoProductType is the golang structure for table info_product_type.
  159. type InfoProductType struct {
  160. ProductTypeId int `orm:"product_type_id,primary" json:"product_type_id"` // 商品类型id
  161. ProductType string `orm:"product_type" json:"product_type"` // 商品类型
  162. }
  163. // InfoRegion is the golang structure for table info_region.
  164. type InfoRegion struct {
  165. RegionId uint `orm:"region_id,primary" json:"region_id"` //
  166. SelfCode uint `orm:"self_code" json:"self_code"` //
  167. RegionLevel int `orm:"region_level" json:"region_level"` //
  168. ParentCode uint `orm:"parent_code" json:"parent_code"` //
  169. RegionName string `orm:"region_name" json:"region_name"` //
  170. }
  171. // InfoSectaskStage is the golang structure for table info_sectask_stage.
  172. type InfoSectaskStage struct {
  173. TaskStageId int `orm:"task_stage_id,primary" json:"task_stage_id"` // 选品任务阶段id
  174. TaskStage string `orm:"task_stage" json:"task_stage"` // 选品任务阶段
  175. }
  176. // InfoTalentAgeBracket is the golang structure for table info_talent_age_bracket.
  177. type InfoTalentAgeBracket struct {
  178. AgeAid int `orm:"age_aid,primary" json:"age_aid"` //
  179. AgeBracketDiscribe string `orm:"age_bracket_discribe" json:"age_bracket_discribe"` //
  180. }
  181. // InfoTalentSkilledArea is the golang structure for table info_talent_skilled_area.
  182. type InfoTalentSkilledArea struct {
  183. SkilledId int `orm:"skilled_id,primary" json:"skilled_id"` //
  184. SkilledAreas string `orm:"skilled_areas" json:"skilled_areas"` // 擅长领域
  185. }
  186. // InfoTalentSkinType is the golang structure for table info_talent_skin_type.
  187. type InfoTalentSkinType struct {
  188. SkinId int `orm:"skin_id,primary" json:"skin_id"` //
  189. SkinTypeDescribe string `orm:"skin_type_describe" json:"skin_type_describe"` //
  190. }
  191. // InfoTaskStage is the golang structure for table info_task_stage.
  192. type InfoTaskStage struct {
  193. TaskStageId int `orm:"task_stage_id,primary" json:"task_stage_id"` // 任务阶段id
  194. TaskStage string `orm:"task_stage" json:"task_stage"` // 任务阶段
  195. }
  196. // InfoThirdPlatform is the golang structure for table info_third_platform.
  197. type InfoThirdPlatform struct {
  198. PlatformId int `orm:"platform_id,primary" json:"platform_id"` // 平台id,主键
  199. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名
  200. PlatformIcon string `orm:"platform_icon" json:"platform_icon"` // 平台图标url
  201. PlatformTableName string `orm:"platform_table_name" json:"platform_table_name"` // 平台数据表表名
  202. }
  203. // InfoYoungeeStrategy is the golang structure for table info_youngee_strategy.
  204. type InfoYoungeeStrategy struct {
  205. Id int `orm:"id,primary" json:"id"` // id
  206. ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,0表示不限,1为全流程项目,2为选品项目
  207. StrategyId string `orm:"strategyId" json:"strategy_id"` // 定价策略编号
  208. Platform int `orm:"platform" json:"platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
  209. TaskType int `orm:"task_type" json:"task_type"` // 任务形式,实体商品寄拍、虚拟产品测评、线下探店打卡、悬赏任务、纯佣带货
  210. ContentType int `orm:"content_type" json:"content_type"` // 内容形式 图文、视频、直播
  211. Reason int `orm:"reason" json:"reason"` // 奖励原因,成团-新用户、成团-老用户、成单-申请成功、成单-结案完毕;
  212. Points float64 `orm:"points" json:"points"` // 积分奖励
  213. Cash float64 `orm:"cash" json:"cash"` // 现金奖励
  214. Status int `orm:"status" json:"status"` // '定价策略当前状态,0表示正常,1表示禁用',
  215. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  216. }
  217. // OrderAnswer is the golang structure for table order_answer.
  218. type OrderAnswer struct {
  219. TraId int64 `orm:"tra_id,primary" json:"tra_id"` //
  220. OrderId int64 `orm:"order_id" json:"order_id"` // 报名信息(order_info)id
  221. AdditionalQuestionId int `orm:"additional_question_id" json:"additional_question_id"` // task_require_additional_tallent_info表中的id,即问题
  222. QuestionAnswer string `orm:"question_answer" json:"question_answer"` // 问题答案,单选或多选为选项的id,问题为输入框时则为文本,为图片上传时则为上传后的图片url
  223. }
  224. // OrderArticleReview is the golang structure for table order_article_review.
  225. type OrderArticleReview struct {
  226. OrderArticleId int `orm:"order_article_id,primary" json:"order_article_id"` // 作品审核id
  227. OrderId int64 `orm:"order_id,unique" json:"order_id"` // 订单id(order_info)id
  228. ArticleLink string `orm:"article_link" json:"article_link"` // 作品链接列表
  229. AuditStatus int `orm:"audit_status" json:"audit_status"` // 审核状态 1待审核 2审核通过 3审核驳回
  230. AuditOpinion string `orm:"audit_opinion" json:"audit_opinion"` // 作品审核意见
  231. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间(发货时间)
  232. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirm_time"` // 确认收获时间
  233. }
  234. // OrderDataReview is the golang structure for table order_data_review.
  235. type OrderDataReview struct {
  236. DataQualityId int `orm:"data_quality_id,primary" json:"data_quality_id"` // 数据质检id
  237. OrderId int64 `orm:"order_id,unique" json:"order_id"` // 报名信息(order_info)id
  238. LikeNumber int `orm:"like_number" json:"like_number"` // 点赞数
  239. LittleEye int `orm:"little_eye" json:"little_eye"` // 小眼睛
  240. CommitNum int `orm:"commit_num" json:"commit_num"` // 评论数
  241. CollectNum int `orm:"collect_num" json:"collect_num"` // 收藏数
  242. DataLink string `orm:"data_link" json:"data_link"` // 数据截图列表
  243. AuditStatus int `orm:"audit_status" json:"audit_status"` // 审核状态 1待审核 2审核通过 3审核失败
  244. AuditOpinion string `orm:"audit_opinion" json:"audit_opinion"` // 数据质检审核意见
  245. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间(发货时间)
  246. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirm_time"` // 确认收获时间
  247. }
  248. // OrderDeliveryInfo is the golang structure for table order_delivery_info.
  249. type OrderDeliveryInfo struct {
  250. OrderDeliveryId int `orm:"order_delivery_id,primary" json:"order_delivery_id"` // 执行补充信息
  251. OrderId int64 `orm:"order_id,unique" json:"order_id"` // 订单id
  252. OrderAddressee string `orm:"order_addressee" json:"order_addressee"` // 收货人
  253. OrderPhone string `orm:"order_phone" json:"order_phone"` // 订单所填手机号
  254. RegionCode int `orm:"region_code" json:"region_code"` // 区域码
  255. OrderAddress string `orm:"order_address" json:"order_address"` // 订单地址
  256. LogisticsCompany string `orm:"logistics_company" json:"logistics_company"` // 物流公司
  257. TrackingNum string `orm:"tracking_num" json:"tracking_num"` // 物流单号
  258. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  259. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirm_time"` // 确认收获时间
  260. DeliveryTime *gtime.Time `orm:"delivery_time" json:"delivery_time"` // 发货时间
  261. DeliveryStatus int `orm:"delivery_status" json:"delivery_status"` // 发货状态 1是未发货,2是已发货 3已收货
  262. }
  263. // OrderDraftReview is the golang structure for table order_draft_review.
  264. type OrderDraftReview struct {
  265. OrderDraftId int `orm:"order_draft_id,primary" json:"order_draft_id"` // 初稿审核id
  266. OrderId int `orm:"order_id,unique" json:"order_id"` // 订单id
  267. OnlineLink string `orm:"online_link" json:"online_link"` // 在线链接
  268. AuditStatus int `orm:"audit_status" json:"audit_status"` // 审核状态 1待审核 2审核通过 3审核驳回
  269. AuditOpinion string `orm:"audit_opinion" json:"audit_opinion"` // 审核意见
  270. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  271. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirm_time"` // 初稿通过时间
  272. }
  273. // OrderInfo is the golang structure for table order_info.
  274. type OrderInfo struct {
  275. OrderId uint64 `orm:"order_id,primary" json:"order_id"` //
  276. TaskId int `orm:"task_id" json:"task_id"` // 任务id
  277. TaskName string `orm:"task_name" json:"task_name"` // 任务名称(冗余)
  278. TaskBrandName string `orm:"task_brand_name" json:"task_brand_name"` // 品牌名称(冗余)
  279. ProductName string `orm:"product_name" json:"product_name"` // 商品名称(冗余)
  280. ProductMainImg string `orm:"product_main_img" json:"product_main_img"` // 商品主图url(冗余)
  281. TalentId int `orm:"talent_id" json:"talent_id"` // 达人id
  282. TalentPlatformInfoSnap string `orm:"talent_platform_info_snap" json:"talent_platform_info_snap"` // 达人平台信息快照
  283. TalentPersonalInfoSnap string `orm:"talent_personal_info_snap" json:"talent_personal_info_snap"` // 达人个人信息快照
  284. TalentPostAddrSnap string `orm:"talent_post_addr_snap" json:"talent_post_addr_snap"` // 收货地址快照
  285. TaskLevelId int `orm:"task_level_id" json:"task_level_id"` // 报名选择的招募等级id(task_recruit_talent_level表中的id)
  286. SettleAmount int64 `orm:"settle_amount" json:"settle_amount"` // 待结算金额
  287. ProdSpecificationId int `orm:"prod_specification_id" json:"prod_specification_id"` // 商品规格列表的索引
  288. ProdNote string `orm:"prod_note" json:"prod_note"` // 商品备注
  289. OrderStatus int `orm:"order_status" json:"order_status"` // 订单状态
  290. CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
  291. SelectDate *gtime.Time `orm:"select_date" json:"select_date"` // 反选时间
  292. PartnerWay string `orm:"partner_way" json:"partner_way"` // 合作方式
  293. CompleteStatus int `orm:"complete_status" json:"complete_status"` // 结束方式 1未结束 2正常结束 3反选失败 4达人取消
  294. CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 结束时间
  295. }
  296. // OrderLinkQuality is the golang structure for table order_link_quality.
  297. type OrderLinkQuality struct {
  298. LinkQualityId int `orm:"link_quality_id,primary" json:"link_quality_id"` // 链接质检id
  299. OrderId int64 `orm:"order_id,unique" json:"order_id"` // 报名信息(order_info)id
  300. PostLink string `orm:"post_link" json:"post_link"` // 发布链接
  301. PhotoLink string `orm:"photo_link" json:"photo_link"` // 图片链接
  302. AuditStatus int `orm:"audit_status" json:"audit_status"` // 审核状态 1待审核 2审核成功 3审核失败
  303. AuditOpinion string `orm:"audit_opinion" json:"audit_opinion"` // 审核意见
  304. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间(发货时间)
  305. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirm_time"` // 确认收获时间
  306. }
  307. // OrderStatusRecord is the golang structure for table order_status_record.
  308. type OrderStatusRecord struct {
  309. OrderStatusId int `orm:"order_status_id,primary" json:"order_status_id"` // 订单状态记录表id
  310. OrderId int `orm:"order_id" json:"order_id"` // 对应订单的id
  311. AlterBefore int `orm:"alter_before" json:"alter_before"` // 修改订单前状态
  312. AlterAfter int `orm:"alter_after" json:"alter_after"` // 修改订单后状态
  313. RoleTag int `orm:"role_tag" json:"role_tag"` // 身份标记 1后台管理员 2达人
  314. RecordId int `orm:"record_id" json:"record_id"` // 操作员工账号
  315. RecordName string `orm:"record_name" json:"record_name"` // 操作员工姓名
  316. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  317. }
  318. // PlatformBilibiliAccountInfo is the golang structure for table platform_bilibili_account_info.
  319. type PlatformBilibiliAccountInfo struct {
  320. BilibiliId int `orm:"bilibili_id,primary" json:"bilibili_id"` //
  321. TalentId int `orm:"talent_id,unique" json:"talent_id"` // 达人账号id(talent_info表id值)
  322. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  323. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名称(冗余)
  324. PlatformIconUrl string `orm:"platform_icon_url" json:"platform_icon_url"` // 平台icon的url(冗余)
  325. PlatformAccountId string `orm:"platform_account_id" json:"platform_account_id"` // 在平台上的账号
  326. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  327. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  328. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  329. GotLikeCount int64 `orm:"got_like_count" json:"got_like_count"` // 点赞数
  330. SkilledAt string `orm:"skilled_at" json:"skilled_at"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  331. IsAppearInVideo int `orm:"is_appear_in_video" json:"is_appear_in_video"` // 是否出镜
  332. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图链接
  333. AccountFrom string `orm:"account_from" json:"account_from"` // 账号来源(仅B端批量上传的账号需要填写)
  334. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  335. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examine_fail_admin_id"` // 审核失败操作管理员id(user表中的id)
  336. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核日期
  337. ExamineFailReason string `orm:"examine_fail_reason" json:"examine_fail_reason"` // 审核失败原因
  338. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  339. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examine_suc_admin_id"` // 审核成功操作管理员id(user表中的id)
  340. }
  341. // PlatformDianpingAccountInfo is the golang structure for table platform_dianping_account_info.
  342. type PlatformDianpingAccountInfo struct {
  343. DianpingId int `orm:"dianping_id,primary" json:"dianping_id"` //
  344. TalentId int `orm:"talent_id,unique" json:"talent_id"` // 达人账号id(talent_info表id值)
  345. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  346. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名称(冗余)
  347. PlatformIconUrl string `orm:"platform_icon_url" json:"platform_icon_url"` // 平台icon的url(冗余)
  348. PlatformAccountId string `orm:"platform_account_id" json:"platform_account_id"` // 在平台上的账号
  349. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  350. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  351. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  352. GotLikeCount int64 `orm:"got_like_count" json:"got_like_count"` // 点赞数
  353. MembershipLevel int `orm:"membership_level" json:"membership_level"` // 会员等级
  354. IsAppearInVideo int `orm:"is_appear_in_video" json:"is_appear_in_video"` // 是否出镜
  355. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图图片url
  356. AccountFrom string `orm:"account_from" json:"account_from"` // 账号来源(仅B端批量上传的账号需要填写)
  357. ExamineStatus int `orm:"examine_status" json:"examine_status"` // 审核状态 1待审核 2审核通过 3审核失败
  358. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  359. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examine_fail_admin_id"` // 审核失败操作管理员id(user表中的id)
  360. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核日期
  361. ExamineFailReason string `orm:"examine_fail_reason" json:"examine_fail_reason"` // 审核失败原因
  362. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  363. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examine_suc_admin_id"` // 审核成功操作管理员id(user表中的id)
  364. }
  365. // PlatformKuaishouAccountInfo is the golang structure for table platform_kuaishou_account_info.
  366. type PlatformKuaishouAccountInfo struct {
  367. KuaishouId int `orm:"kuaishou_id,primary" json:"kuaishou_id"` //
  368. TalentId int `orm:"talent_id,unique" json:"talent_id"` // 达人账号id(talent_info表id值)
  369. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  370. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名称(冗余)
  371. PlatformIconUrl string `orm:"platform_icon_url" json:"platform_icon_url"` // 平台icon的url(冗余)
  372. PlatformAccountId string `orm:"platform_account_id" json:"platform_account_id"` // 在平台上的账号
  373. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  374. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  375. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  376. CompositionCount int64 `orm:"composition_count" json:"composition_count"` // 作品数量
  377. SkilledAt string `orm:"skilled_at" json:"skilled_at"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  378. IsSupportLive int `orm:"is_support_live" json:"is_support_live"` // 是否支持直播
  379. IsOpenCart int `orm:"is_open_cart" json:"is_open_cart"` // 是否开通购物车
  380. IsAppearInVideo int `orm:"is_appear_in_video" json:"is_appear_in_video"` // 是否出镜
  381. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图图片url
  382. AccountFrom string `orm:"account_from" json:"account_from"` // 账号来源(仅B端批量上传的账号需要填写)
  383. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  384. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examine_fail_admin_id"` // 审核失败操作管理员id(user表中的id)
  385. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核日期
  386. ExamineFailReason string `orm:"examine_fail_reason" json:"examine_fail_reason"` // 审核失败原因
  387. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  388. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examine_suc_admin_id"` // 审核成功操作管理员id(user表中的id)
  389. }
  390. // PlatformLittleRedBookAccountInfo is the golang structure for table platform_little_red_book_account_info.
  391. type PlatformLittleRedBookAccountInfo struct {
  392. RedBookId int `orm:"red_book_id,primary" json:"red_book_id"` //
  393. TalentId int `orm:"talent_id,unique" json:"talent_id"` // 达人账号id(talent_info表id值)
  394. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  395. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名称(冗余)
  396. PlatformIconUrl string `orm:"platform_icon_url" json:"platform_icon_url"` // 平台icon的url(冗余)
  397. PlatformAccountId string `orm:"platform_account_id" json:"platform_account_id"` // 在平台上的账号
  398. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  399. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  400. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  401. GotLikeCount int64 `orm:"got_like_count" json:"got_like_count"` // (点)赞(收)藏数
  402. NoteCount int64 `orm:"note_count" json:"note_count"` // 笔记总量
  403. IsSupportReporting int `orm:"is_support_reporting" json:"is_support_reporting"` // 是否支持报备
  404. IsSupportLive int `orm:"is_support_live" json:"is_support_live"` // 是否支持直播
  405. CanMakeVideo int `orm:"can_make_video" json:"can_make_video"` // 是否可以制作视频
  406. IsAppearInVideo int `orm:"is_appear_in_video" json:"is_appear_in_video"` // 是否出镜
  407. SkilledAt string `orm:"skilled_at" json:"skilled_at"` // 擅长领域(info_tallent_skilled_area表中的id的数组) {0,不限。1,母婴。2,美妆护肤。3,时尚穿搭。4,旅游。5,美食。6,数码科技。7,健康养生。8,情感。9,宠物。10,运动健身。11,家居生活。12,搞笑。13,音乐 }
  408. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图链接
  409. AccountFrom string `orm:"account_from" json:"account_from"` // 账号来源(仅B端批量上传的账号需要填写)
  410. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  411. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examine_fail_admin_id"` // 审核失败操作管理员id(user表中的id)
  412. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核日期
  413. ExamineFailReason string `orm:"examine_fail_reason" json:"examine_fail_reason"` // 审核失败原因
  414. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  415. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examine_suc_admin_id"` // 审核成功操作管理员id(user表中的id)
  416. }
  417. // PlatformTiktokAccountInfo is the golang structure for table platform_tiktok_account_info.
  418. type PlatformTiktokAccountInfo struct {
  419. TiktokId int `orm:"tiktok_id,primary" json:"tiktok_id"` //
  420. TalentId int `orm:"talent_id,unique" json:"talent_id"` // 达人账号id(talent_info表id值)
  421. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  422. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名称(冗余)
  423. PlatformIconUrl string `orm:"platform_icon_url" json:"platform_icon_url"` // 平台icon的url(冗余)
  424. PlatformAccountId string `orm:"platform_account_id" json:"platform_account_id"` // 在平台上的账号
  425. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  426. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  427. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  428. GotLikeCount int64 `orm:"got_like_count" json:"got_like_count"` // 点赞数
  429. CompositionCount int64 `orm:"composition_count" json:"composition_count"` // 作品数量
  430. TiktokUid string `orm:"tiktok_uid" json:"tiktok_uid"` // 抖音uid
  431. IsSupportReporting int `orm:"is_support_reporting" json:"is_support_reporting"` // 是否支持报备
  432. IsSupportLive int `orm:"is_support_live" json:"is_support_live"` // 是否支持直播
  433. IsOpenShowcase int `orm:"is_open_showcase" json:"is_open_showcase"` // 是否开通商品橱窗
  434. IsAppearInVideo int `orm:"is_appear_in_video" json:"is_appear_in_video"` // 是否出镜
  435. SkilledAt string `orm:"skilled_at" json:"skilled_at"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  436. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图图片链接
  437. AccountFrom string `orm:"account_from" json:"account_from"` // 账号来源(仅B端批量上传的账号需要填写)
  438. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  439. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examine_fail_admin_id"` // 审核失败操作管理员id(user表中的id)
  440. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核日期
  441. ExamineFailReason string `orm:"examine_fail_reason" json:"examine_fail_reason"` // 审核失败原因
  442. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  443. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examine_suc_admin_id"` // 审核成功操作管理员id(user表中的id)
  444. }
  445. // PlatformWeiboAccountInfo is the golang structure for table platform_weibo_account_info.
  446. type PlatformWeiboAccountInfo struct {
  447. WeiboId int `orm:"weibo_id,primary" json:"weibo_id"` //
  448. TalentId int `orm:"talent_id,unique" json:"talent_id"` // 达人账号id(talent_info表id值)
  449. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  450. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名称(冗余)
  451. PlatformIconUrl string `orm:"platform_icon_url" json:"platform_icon_url"` // 平台icon的url(冗余)
  452. PlatformAccountId string `orm:"platform_account_id" json:"platform_account_id"` // 在平台上的账号
  453. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  454. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  455. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  456. WeiboTotalNum int64 `orm:"weibo_total_num" json:"weibo_total_num"` // 微博总量
  457. IsSupportReporting int `orm:"is_support_reporting" json:"is_support_reporting"` // 是否支持报备
  458. IsSupportLive int `orm:"is_support_live" json:"is_support_live"` // 是否支持直播
  459. CanMakeVideo int `orm:"can_make_video" json:"can_make_video"` // 是否可以制作视频
  460. IsAppearInVideo int `orm:"is_appear_in_video" json:"is_appear_in_video"` // 是否出镜
  461. SkilledAt string `orm:"skilled_at" json:"skilled_at"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  462. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图链接
  463. AccountFrom string `orm:"account_from" json:"account_from"` // 账号来源(仅B端批量上传的账号需要填写)
  464. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  465. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examine_fail_admin_id"` // 审核失败操作管理员id(user表中的id)
  466. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核日期
  467. ExamineFailReason string `orm:"examine_fail_reason" json:"examine_fail_reason"` // 审核失败原因
  468. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  469. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examine_suc_admin_id"` // 审核成功操作管理员id(user表中的id)
  470. }
  471. // PlatformZhihuAccountInfo is the golang structure for table platform_zhihu_account_info.
  472. type PlatformZhihuAccountInfo struct {
  473. ZhihuId int `orm:"zhihu_id,primary" json:"zhihu_id"` //
  474. TalentId int `orm:"talent_id,unique" json:"talent_id"` // 达人账号id(talent_info表的id值)
  475. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  476. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台名称(冗余)
  477. PlatformIconUrl string `orm:"platform_icon_url" json:"platform_icon_url"` // 平台icon的url(冗余)
  478. PlatformAccountId string `orm:"platform_account_id" json:"platform_account_id"` // 在平台上的账号
  479. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  480. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  481. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  482. GotAgreeCount int64 `orm:"got_agree_count" json:"got_agree_count"` // 被赞同总数
  483. GotLikeCount int64 `orm:"got_like_count" json:"got_like_count"` // 被喜欢总数
  484. GotCollectCount int64 `orm:"got_collect_count" json:"got_collect_count"` // 被收藏总数
  485. AnswerCount int64 `orm:"answer_count" json:"answer_count"` // 回答总数
  486. CreativeLevel int `orm:"creative_level" json:"creative_level"` // 创作等级
  487. TotalReadPlayCount int64 `orm:"total_read_play_count" json:"total_read_play_count"` // 总阅读播放量
  488. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图
  489. AccountFrom string `orm:"account_from" json:"account_from"` // 账号来源(仅B端批量上传的账号需要填写)
  490. SubmitDate *gtime.Time `orm:"submit_date" json:"submit_date"` // 提交时间
  491. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examine_fail_admin_id"` // 审核失败操作管理员id(user表中的id)
  492. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核日期
  493. ExamineFailReason string `orm:"examine_fail_reason" json:"examine_fail_reason"` // 审核失败原因
  494. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  495. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examine_suc_admin_id"` // 审核成功操作管理员id(user表中的id)
  496. }
  497. // Product is the golang structure for table product.
  498. type Product struct {
  499. ProductId int `orm:"product_id,primary" json:"product_id"` //
  500. ProductName string `orm:"product_name" json:"product_name"` // 商品名称
  501. ProductType int `orm:"product_type" json:"product_type"` // 商品类型 1:实物 ,2:商品,3:线下
  502. ProductClassify int `orm:"product_classify" json:"product_classify"` // 商品分类id(info_product_classifyh表id)
  503. ProductPrice float64 `orm:"product_price" json:"product_price"` // 商品价格
  504. ProductSpecification string `orm:"product_specification" json:"product_specification"` // 商品规格
  505. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  506. CreatPeople string `orm:"creat_people" json:"creat_people"` // 创建人
  507. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  508. UpdatePeople string `orm:"update_people" json:"update_people"` // 更新人
  509. }
  510. // ProductPhoto is the golang structure for table product_photo.
  511. type ProductPhoto struct {
  512. ProductPhotoId int `orm:"product_photo_id,primary" json:"product_photo_id"` // 商品链接图主键id
  513. ProductId int `orm:"product_id" json:"product_id"` // 商品表id
  514. Symbol int `orm:"symbol" json:"symbol"` // 图片是主图还是详情图标志位 1主图 2轮播图 3,详情图
  515. PhotoUrl string `orm:"photo_url" json:"photo_url"` // 商品图片链接
  516. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  517. CreatPeople string `orm:"creat_people" json:"creat_people"` // 创建人
  518. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  519. UpdatePeople string `orm:"update_people" json:"update_people"` // 更新人
  520. }
  521. // ProjectInfo is the golang structure for table project_info.
  522. type ProjectInfo struct {
  523. ProjectId string `orm:"project_id,primary" json:"project_id"` // 项目id
  524. ProjectName string `orm:"project_name" json:"project_name"` // 项目名称
  525. ProjectStatus int `orm:"project_status" json:"project_status"` // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、失效、执行中、已结案
  526. ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,1代表全流程项目,2代表专项项目
  527. ProjectPlatform int `orm:"project_platform" json:"project_platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
  528. ProjectForm int `orm:"project_form" json:"project_form"` // 项目形式,1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
  529. TalentType string `orm:"talent_type" json:"talent_type"` // 达人类型
  530. RecruitDdl *gtime.Time `orm:"recruit_ddl" json:"recruit_ddl"` // 招募截止时间
  531. ContentType int `orm:"content_type" json:"content_type"` // 内容形式,1代表图文,2代表视频
  532. ProjectDetail string `orm:"project_detail" json:"project_detail"` // 项目详情
  533. ApplyNum int `orm:"apply_num" json:"apply_num"` // 报名人数
  534. RecruitNum int `orm:"recruit_num" json:"recruit_num"` // 已招募人数
  535. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
  536. ProductId int `orm:"product_id" json:"product_id"` // 关联商品id
  537. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  538. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 修改时间
  539. FeeForm string `orm:"fee_form" json:"fee_form"` // 稿费形式列表
  540. AutoFailAt *gtime.Time `orm:"auto_fail_at" json:"auto_fail_at"` // 失效自动处理时间
  541. AutoTaskId int `orm:"auto_task_id" json:"auto_task_id"` // 定时任务id
  542. AutoDefaultId int `orm:"auto_default_id" json:"auto_default_id"` // 违约状态id
  543. PaymentAmount float64 `orm:"payment_amount" json:"payment_amount"` // 支付金额
  544. PayAt *gtime.Time `orm:"pay_at" json:"pay_at"` // 支付时间
  545. AutoScriptBreakAt *gtime.Time `orm:"auto_script_break_at" json:"auto_script_break_at"` // 脚本违约自动处理时间
  546. AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
  547. FailReason int `orm:"fail_reason" json:"fail_reason"` // 失效原因,1、2分别表示逾期未支付、项目存在风险
  548. PassAt *gtime.Time `orm:"pass_at" json:"pass_at"` // 审核通过时间
  549. FinishAt *gtime.Time `orm:"finish_at" json:"finish_at"` // 结案时间
  550. EstimatedCost float64 `orm:"estimated_cost" json:"estimated_cost"` // 预估成本
  551. IsRead int `orm:"is_read" json:"is_read"` // 是否已读
  552. SettlementAmount float64 `orm:"settlement_amount" json:"settlement_amount"` // 结算金额
  553. ProductSnap string `orm:"product_snap" json:"product_snap"` // 商品信息快照
  554. ProductPhotoSnap string `orm:"product_photo_snap" json:"product_photo_snap"` // 商品图片快照
  555. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交审核时间
  556. }
  557. // ProjectPhoto is the golang structure for table project_photo.
  558. type ProjectPhoto struct {
  559. ProjectPhotoId int `orm:"project_photo_id,primary" json:"project_photo_id"` // 项目图片id
  560. PhotoUrl string `orm:"photo_url" json:"photo_url"` // 图片url
  561. PhotoUid string `orm:"photo_uid" json:"photo_uid"` //
  562. ProjectId string `orm:"project_id" json:"project_id"` // 所属项目id
  563. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  564. FileName string `orm:"file_name" json:"file_name"` // 文件名称
  565. }
  566. // ROrderCompeleteStageToType is the golang structure for table r_order_compelete_stage_to_type.
  567. type ROrderCompeleteStageToType struct {
  568. RId uint `orm:"r_id,primary" json:"r_id"` //
  569. OrderProcedureStage int `orm:"order_procedure_stage" json:"order_procedure_stage"` // 任务流程的阶段(对应workflow_node_container表中的procedure_stage字段)
  570. OrderProcedureStep int `orm:"order_procedure_step" json:"order_procedure_step"` // 任务流程的步骤(对应workflow_node_container表中的step_in_stage字段)
  571. CompleteType int `orm:"complete_type" json:"complete_type"` // 任务步骤如果存在结束任务的可能,则这里是对应的结束任务的方式
  572. }
  573. // RTalentPlatformTable is the golang structure for table r_talent_platform_table.
  574. type RTalentPlatformTable struct {
  575. RtId uint `orm:"rt_id,primary" json:"rt_id"` // 审核表的主键ID
  576. Tid int `orm:"tid" json:"tid"` // 达人id(talent_info表中的id)
  577. PId int `orm:"p_id" json:"p_id"` // 平台id(info_third_platform表中的id)
  578. PName string `orm:"p_name" json:"p_name"` // 平台名称
  579. PNickname string `orm:"p_nickname" json:"p_nickname"` // 账号所在平台昵称
  580. PAccountId string `orm:"p_account_id" json:"p_account_id"` // 平台对应的ID(达人在所在平台的ID)
  581. FansCount int64 `orm:"fans_count" json:"fans_count"` // 达人在平台的粉丝数量
  582. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 达人的主页链接
  583. ExamineState int `orm:"examine_state" json:"examine_state"` // 审核状态 1待审核 2审核通过 3审核驳回
  584. FailReason string `orm:"fail_reason" json:"fail_reason"` // 审核驳回原因
  585. ExamineAdminId int `orm:"examine_admin_id" json:"examine_admin_id"` // 审核操作管理员id
  586. CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
  587. ExamineDate *gtime.Time `orm:"examine_date" json:"examine_date"` // 审核时间
  588. DisableDate *gtime.Time `orm:"disable_date" json:"disable_date"` // 下架时间
  589. Deleted int `orm:"deleted" json:"deleted"` // 是否逻辑删除 0否 1是
  590. }
  591. // RecruitStrategy is the golang structure for table recruit_strategy.
  592. type RecruitStrategy struct {
  593. RecruitStrategyId int `orm:"recruit_strategy_id,primary" json:"recruit_strategy_id"` // 招募策略id
  594. FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1-3分别代表产品置换、固定稿费、自报价
  595. StrategyId int `orm:"strategy_id" json:"strategy_id"` // 策略id
  596. FollowersLow int `orm:"followers_low" json:"followers_low"` // 达人粉丝数下限
  597. FollowersUp int `orm:"followers_up" json:"followers_up"` // 达人粉丝数上限
  598. RecruitNumber int `orm:"recruit_number" json:"recruit_number"` // 招募数量
  599. Offer float64 `orm:"offer" json:"offer"` // 报价
  600. TOffer float64 `orm:"t_offer" json:"t_offer"` // 达人所见报价
  601. ProjectId string `orm:"project_id" json:"project_id"` // 所属项目id
  602. ServiceCharge float64 `orm:"service_charge" json:"service_charge"` // 平台服务费,稿费形式为产品置换时必填
  603. SelectedNumber int `orm:"selected_number" json:"selected_number"` // 已选数量,被企业选择的达人数量
  604. WaitingNumber int `orm:"waiting_number" json:"waiting_number"` // 待发货
  605. DeliveredNumber int `orm:"delivered_number" json:"delivered_number"` // 已发货
  606. SignedNumber int `orm:"signed_number" json:"signed_number"` // 已签收
  607. MaxOffer int `orm:"max_offer" json:"max_offer"` // 报价上限
  608. MinOffer int `orm:"min_offer" json:"min_offer"` // 报价下限
  609. FanNumber int `orm:"fan_number" json:"fan_number"` // 总粉丝量
  610. PlayNumber int `orm:"play_number" json:"play_number"` // 总播放量
  611. LikeNumber int `orm:"like_number" json:"like_number"` // 总点赞数
  612. CollectNumber int `orm:"collect_number" json:"collect_number"` // 总收藏量
  613. CommentNumber int `orm:"comment_number" json:"comment_number"` // 总评论数
  614. FinishNumber int `orm:"finish_number" json:"finish_number"` // 结案数量
  615. TotalOffer float64 `orm:"total_offer" json:"total_offer"` // 支付合计
  616. }
  617. // TalentDeliveryAddress is the golang structure for table talent_delivery_address.
  618. type TalentDeliveryAddress struct {
  619. AddressId int64 `orm:"address_id,primary" json:"address_id"` //
  620. RegionCode int `orm:"region_code" json:"region_code"` // 区域码,取info_region表中的self_code字段值
  621. DetailAddr string `orm:"detail_addr" json:"detail_addr"` // 详细地址
  622. PhoneNumber string `orm:"phone_number" json:"phone_number"` // 联系电话
  623. ReceiverName string `orm:"receiver_name" json:"receiver_name"` // 收货人名字
  624. DefaultTag int `orm:"default_tag" json:"default_tag"` // 是否默认收货地址
  625. TalentId int `orm:"talent_id" json:"talent_id"` // 达人id(talent_info表中的id)
  626. }
  627. // TalentInfo is the golang structure for table talent_info.
  628. type TalentInfo struct {
  629. Id int `orm:"id,primary" json:"id"` //
  630. TalentWxOpenid string `orm:"talent_wx_openid" json:"talent_wx_openid"` // 达人的微信openid
  631. TalentWxNickname string `orm:"talent_wx_nickname" json:"talent_wx_nickname"` // 达人的微信昵称
  632. TalentWxNumber string `orm:"talent_wx_number" json:"talent_wx_number"` // 达人微信号
  633. TalentGender int `orm:"talent_gender" json:"talent_gender"` // 性别,0未知 1男 2女
  634. TalentPhoneNumber string `orm:"talent_phone_number" json:"talent_phone_number"` // 电话号码
  635. TalentAgeBracket int `orm:"talent_age_bracket" json:"talent_age_bracket"` // 年龄段,取tallent_age_bracket表id
  636. TalentSkinType int `orm:"talent_skin_type" json:"talent_skin_type"` // 肤质,取tallent_skin_type表的id
  637. TalentNationality int `orm:"talent_nationality" json:"talent_nationality"` // 国籍,取tallent_nationality表id
  638. VisitStoreRegion int `orm:"visit_store_region" json:"visit_store_region"` // 探店区域,取region_info表中的self_code
  639. ApprovalStatus int `orm:"approval_status" json:"approval_status"` // 审核状态 0提交未审核 1审核通过 2审核失败
  640. ApprovalDate *gtime.Time `orm:"approval_date" json:"approval_date"` // 审核时间
  641. Enabled int `orm:"enabled" json:"enabled"` // 是否上架(激活)
  642. EnabledDate *gtime.Time `orm:"enabled_date" json:"enabled_date"` // 上架(激活)时间
  643. InBlacklist uint `orm:"in_blacklist" json:"in_blacklist"` // 是否加入黑名单 0否 1是
  644. CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
  645. LastLoginDate *gtime.Time `orm:"last_login_date" json:"last_login_date"` // 最后登录时间
  646. AliName string `orm:"ali_name" json:"ali_name"` // 支付宝姓名
  647. AliAccount string `orm:"ali_account" json:"ali_account"` // 支付宝账号
  648. }
  649. // TaskBaseInfo is the golang structure for table task_base_info.
  650. type TaskBaseInfo struct {
  651. TaskId int `orm:"task_id,primary" json:"task_id"` // 任务基础信息id
  652. TaskName string `orm:"task_name" json:"task_name"` // 任务名称
  653. TaskPlatform int `orm:"task_platform" json:"task_platform"` // 任务平台id,取third_platform_info表id
  654. TaskMode int `orm:"task_mode" json:"task_mode"` // 任务模式 1置换任务 2稿费任务 3折扣任务
  655. BusinessType int `orm:"business_type" json:"business_type"` // 业务类型 1实物 2虚拟 3线下
  656. ContentForm uint `orm:"content_form" json:"content_form"` // 内容形式 低4位为图片和视频类型,0001原创图片 0010指定图片 0100原创视频 1000指定视频 5~6位为文案类型 010000为原创文案 100000为指定文案 第7位为是否直播01000000为直播00000000为非直播
  657. OtherForm int `orm:"other_form" json:"other_form"` // 其他形式 1不限 2仅单品 3仅合辑
  658. StartTime *gtime.Time `orm:"start_time" json:"start_time"` // 作品发布时间
  659. EndTime *gtime.Time `orm:"end_time" json:"end_time"` // 作品结束时间
  660. DeadlineTime *gtime.Time `orm:"deadline_time" json:"deadline_time"` // 任务报名截至日期
  661. TaskStatus int `orm:"task_status" json:"task_status"` // 任务状态:1待支付(待上线) 2执行中 3已结案
  662. TaskCreateFlag uint `orm:"task_create_flag" json:"task_create_flag"` // 创建任务时提交状态
  663. BrandId int `orm:"brand_id" json:"brand_id"` // 品牌id
  664. ProductId int `orm:"product_id" json:"product_id"` // 任务商品id
  665. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  666. OnlineTime *gtime.Time `orm:"online_time" json:"online_time"` // 上线时间
  667. BrandName string `orm:"brand_name" json:"brand_name"` // 品牌名称
  668. }
  669. // TaskPerformHelpInfo is the golang structure for table task_perform_help_info.
  670. type TaskPerformHelpInfo struct {
  671. TphId int `orm:"tph_id,primary" json:"tph_id"` //
  672. TaskBaseId int `orm:"task_base_id,unique" json:"task_base_id"` // 关联的任务基本信息id
  673. BrandKeyword string `orm:"brand_keyword" json:"brand_keyword"` // 品牌关键词
  674. ProductMerits string `orm:"product_merits" json:"product_merits"` // 产品亮点
  675. AppendTopic string `orm:"append_topic" json:"append_topic"` // 添加话题
  676. CaptureRequirement string `orm:"capture_requirement" json:"capture_requirement"` // 拍摄要求
  677. RemainDays int `orm:"remain_days" json:"remain_days"` // 保留时长(天)
  678. OtherPerformRequire string `orm:"other_perform_require" json:"other_perform_require"` // 其他执行要求
  679. CaptureReference string `orm:"capture_reference" json:"capture_reference"` // 拍摄参考
  680. CustomServiceQrcode string `orm:"custom_service_qrcode" json:"custom_service_qrcode"` // 客服二维码url
  681. BriefList string `orm:"brief_list" json:"brief_list"` // brief图片urls
  682. }
  683. // TaskProcedureArticleInfo is the golang structure for table task_procedure_article_info.
  684. type TaskProcedureArticleInfo struct {
  685. TpaId int `orm:"tpa_id,primary" json:"tpa_id"` //
  686. TaskBaseId int `orm:"task_base_id" json:"task_base_id"` // 任务id(对应task_base_info表id字段)
  687. UploadLimitDay int `orm:"upload_limit_day" json:"upload_limit_day"` // 上传作品天数限制
  688. UploadReduceRate int `orm:"upload_reduce_rate" json:"upload_reduce_rate"` // 上传作品超时扣费比率(*100)
  689. ReviseLimitDay int `orm:"revise_limit_day" json:"revise_limit_day"` // 作品修改天数限制
  690. ReviseReduceRate int `orm:"revise_reduce_rate" json:"revise_reduce_rate"` // 作品修改超时扣费比率(*100)
  691. }
  692. // TaskProcedureBuySamplesInfo is the golang structure for table task_procedure_buy_samples_info.
  693. type TaskProcedureBuySamplesInfo struct {
  694. TpbId int `orm:"tpb_id,primary" json:"tpb_id"` //
  695. TaskBaseId int `orm:"task_base_id,unique" json:"task_base_id"` // 任务id(对应task_base_info表id字段)
  696. PlatformName string `orm:"platform_name" json:"platform_name"` // 平台对应的名称
  697. BuySamplesCost int64 `orm:"buy_samples_cost" json:"buy_samples_cost"` // 拍单费用
  698. BuySamplesRefund int64 `orm:"buy_samples_refund" json:"buy_samples_refund"` // 拍单退费
  699. BuySamplesUrl string `orm:"buy_samples_url" json:"buy_samples_url"` // 拍单链接
  700. SyncLogistics int `orm:"sync_logistics" json:"sync_logistics"` // 是否同步物流信息 0不同步 1同步
  701. }
  702. // TaskProcedureDecisionCondition is the golang structure for table task_procedure_decision_condition.
  703. type TaskProcedureDecisionCondition struct {
  704. TpdId int `orm:"tpd_id,primary" json:"tpd_id"` //
  705. TaskBaseId int `orm:"task_base_id" json:"task_base_id"` // 任务id(对应task_base_info表id字段)
  706. BuySamplesType int `orm:"buy_samples_type" json:"buy_samples_type"` // 拍单方式 1样叽拍单 2,不拍单
  707. BuySamplesStage int `orm:"buy_samples_stage" json:"buy_samples_stage"` // 拍单对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  708. ExamineDraft int `orm:"examine_draft" json:"examine_draft"` // 是否需要审核初稿 0不审核 1审核
  709. ExamineDraftStage int `orm:"examine_draft_stage" json:"examine_draft_stage"` // 审核初稿对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  710. ReviewArticle int `orm:"review_article" json:"review_article"` // 是否需要审核作品 0不审核 1审核
  711. ReviewArticleStage int `orm:"review_article_stage" json:"review_article_stage"` // 审核作品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  712. IsTestQulity int `orm:"is_test_qulity" json:"is_test_qulity"` // 是否质检目前不可选,值固定为1
  713. QuilityTestStage int `orm:"quility_test_stage" json:"quility_test_stage"` // 质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  714. IsTestData int `orm:"is_test_data" json:"is_test_data"` // 是否进行数据检测,目前不可选,值固定为1
  715. DataTestStage int `orm:"data_test_stage" json:"data_test_stage"` // 数据质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  716. ReturnSamples int `orm:"return_samples" json:"return_samples"` // 是否返还样品 0不返还 1返还
  717. ReturnSamplesStage int `orm:"return_samples_stage" json:"return_samples_stage"` // 返还样品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  718. IsAddTaskFinish int `orm:"is_add_task_finish" json:"is_add_task_finish"` // 是否添加任务完成步骤,目前固定为1
  719. TaskFisnishStage int `orm:"task_fisnish_stage" json:"task_fisnish_stage"` // 任务完成对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  720. BuySamplesCost int64 `orm:"buy_samples_cost" json:"buy_samples_cost"` // 拍单费用
  721. SyncLogistics int `orm:"sync_logistics" json:"sync_logistics"` // 是否同步物流信息 1不同步 2同步
  722. BuySamplesRefund int64 `orm:"buy_samples_refund" json:"buy_samples_refund"` // 拍单退费
  723. }
  724. // TaskProcedureDraftInfo is the golang structure for table task_procedure_draft_info.
  725. type TaskProcedureDraftInfo struct {
  726. TaskPdId int `orm:"task_pd_id,primary" json:"task_pd_id"` //
  727. TaskBaseId int `orm:"task_base_id" json:"task_base_id"` // 任务id(对应task_base_info表id字段)
  728. UploadLimitDay int `orm:"upload_limit_day" json:"upload_limit_day"` // 上传初稿天数限制
  729. UploadReduceRate int `orm:"upload_reduce_rate" json:"upload_reduce_rate"` // 上传初稿超时扣费比率(*100)
  730. ReviseLimitDay int `orm:"revise_limit_day" json:"revise_limit_day"` // 修改初稿期限天数限制
  731. ReviseReduceRate int `orm:"revise_reduce_rate" json:"revise_reduce_rate"` // 初稿超时扣费比率(*100)
  732. }
  733. // TaskProcedureQualityDataTestInfo is the golang structure for table task_procedure_quality_data_test_info.
  734. type TaskProcedureQualityDataTestInfo struct {
  735. TpqId int `orm:"tpq_id,primary" json:"tpq_id"` //
  736. TaskBaseId int `orm:"task_base_id" json:"task_base_id"` // 任务id(对应task_base_info表id字段)
  737. QualityTestUrl string `orm:"quality_test_url" json:"quality_test_url"` // 质检链接
  738. QualityTestLimitDay int `orm:"quality_test_limit_day" json:"quality_test_limit_day"` // 上传质检连接天数限制
  739. QualityTestReduceRate int `orm:"quality_test_reduce_rate" json:"quality_test_reduce_rate"` // 上传质检连接超时扣费比率(*100)
  740. QualityReviseLimitDay int `orm:"quality_revise_limit_day" json:"quality_revise_limit_day"` // 修改质检连接天数限制
  741. QualityReviseReduseRate int `orm:"quality_revise_reduse_rate" json:"quality_revise_reduse_rate"` // 修改质检连接超时扣费比率(*100)
  742. DataTestUrl string `orm:"data_test_url" json:"data_test_url"` // 数据检测连接
  743. DataTestLimitDay int `orm:"data_test_limit_day" json:"data_test_limit_day"` // 上传数据检测连接天数限制
  744. DataTestReduceRate int `orm:"data_test_reduce_rate" json:"data_test_reduce_rate"` // 上传数据检测连接超时扣费比率(*100)
  745. DataReviceLimitDay int `orm:"data_revice_limit_day" json:"data_revice_limit_day"` // 修改数据检测链接天数限制
  746. DataReviceReduceRate int `orm:"data_revice_reduce_rate" json:"data_revice_reduce_rate"` // 修改数据检测链接超时扣费比率(*100)
  747. }
  748. // TaskRecruitRequirements is the golang structure for table task_recruit_requirements.
  749. type TaskRecruitRequirements struct {
  750. TrrId int `orm:"trr_id,primary" json:"trr_id"` //
  751. TaskBaseId int `orm:"task_base_id,unique" json:"task_base_id"` // 关联的task_base_info中的id
  752. TalentSkillsOn string `orm:"talent_skills_on" json:"talent_skills_on"` // 达人擅长领域要求,info_tallent_skilled_area表中的id列表,以逗号分隔 ['不限', '母婴', '美妆护肤', '时尚穿搭', '旅游', '美食', '数码科技', '健康养生', '情感', '宠物', '运动健身', '家居生活', '搞笑', '音乐'],
  753. InteractType string `orm:"interact_type" json:"interact_type"` // 指定互动形式的内容
  754. RegionCode int `orm:"region_code" json:"region_code"` // 地域码,info_region表中的self_code值
  755. Gender int `orm:"gender" json:"gender"` // 限制可接任务的性别,0女 1男 2不限制
  756. OtherRequirement string `orm:"other_requirement" json:"other_requirement"` // 其他要求
  757. }
  758. // TaskRecruitTalentLevel is the golang structure for table task_recruit_talent_level.
  759. type TaskRecruitTalentLevel struct {
  760. TrtId int `orm:"trt_id,primary" json:"trt_id"` //
  761. TaskBaseId int `orm:"task_base_id" json:"task_base_id"` // 关联的task_base_info的id
  762. FansCountMin int `orm:"fans_count_min" json:"fans_count_min"` // 最小粉丝数
  763. FansCountMax int `orm:"fans_count_max" json:"fans_count_max"` // 最大粉丝数
  764. NeedTalentCount int `orm:"need_talent_count" json:"need_talent_count"` // 任务需要的达人数量
  765. RewardRoyalties int64 `orm:"reward_royalties" json:"reward_royalties"` // 稿费金额
  766. }
  767. // TaskReward is the golang structure for table task_reward.
  768. type TaskReward struct {
  769. RewardId int `orm:"reward_id,primary" json:"reward_id"` //
  770. IsRewardGoods int `orm:"is_reward_goods" json:"is_reward_goods"` // 是否奖励实物
  771. RewardGoodsInfo string `orm:"reward_goods_info" json:"reward_goods_info"` // 实物奖励信息
  772. IsPaymentArticle int `orm:"is_payment_article" json:"is_payment_article"` // 是否获得稿费
  773. PaymentValue string `orm:"payment_value" json:"payment_value"` // 稿费金额描述
  774. OtherRewardInfo string `orm:"other_reward_info" json:"other_reward_info"` // 其他奖励信息
  775. TaskBaseId int `orm:"task_base_id,unique" json:"task_base_id"` // 关联的task_base_info的id
  776. }
  777. // User is the golang structure for table user.
  778. type User struct {
  779. Id int `orm:"id,primary" json:"id"` // 用户表id
  780. User string `orm:"user" json:"user"` // 账号
  781. Username string `orm:"username" json:"username"` // 后台用户名
  782. Password string `orm:"password" json:"password"` // 用户密码
  783. RealName string `orm:"real_name" json:"real_name"` // 真实姓名
  784. Role string `orm:"role" json:"role"` // 角色 1,超级管理员; 2,管理员;3,企业用户
  785. Phone string `orm:"phone,unique" json:"phone"` // 绑定手机
  786. Email string `orm:"email" json:"email"` // 电子邮件
  787. LastLoginTime *gtime.Time `orm:"last_login_time" json:"last_login_time"` // 最后一次登录时间
  788. UserState string `orm:"user_state" json:"user_state"` // 0,禁用,1,正常
  789. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  790. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  791. }
  792. // WorkflowNodeContainer is the golang structure for table workflow_node_container.
  793. type WorkflowNodeContainer struct {
  794. ContainerId uint64 `orm:"container_id,primary" json:"container_id"` //
  795. NodeNameFirst string `orm:"node_name_first" json:"node_name_first"` // 首次执行时的节点名,前端显示
  796. NodeNameAfterSecond string `orm:"node_name_after_second" json:"node_name_after_second"` // 第二次之后执行时的节点名
  797. ProcedureStage int `orm:"procedure_stage" json:"procedure_stage"` // 订单处理流程阶段,如:拍单阶段、初稿阶段
  798. StepInStage uint `orm:"step_in_stage" json:"step_in_stage"` // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
  799. CurExecutionTimes int `orm:"cur_execution_times" json:"cur_execution_times"` // 当前执行次数
  800. MaxExecutionTimes int `orm:"max_execution_times" json:"max_execution_times"` // 最大执行次数
  801. Tip string `orm:"tip" json:"tip"` // 此步骤在达人端的提示
  802. SucNextStep uint `orm:"suc_next_step" json:"suc_next_step"` // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
  803. FailNextStep uint `orm:"fail_next_step" json:"fail_next_step"` // 失败的后续步骤,数值同上
  804. State int `orm:"state" json:"state"` // 状态 1未开启 2进行中 3失败 4完成
  805. FailReason string `orm:"fail_reason" json:"fail_reason"` // 失败原因
  806. StartDate *gtime.Time `orm:"start_date" json:"start_date"` // 开始日期
  807. CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 完成日期
  808. CompleteUserName string `orm:"complete_user_name" json:"complete_user_name"` // 完成人名
  809. LimitDays1 int `orm:"limit_days_1" json:"limit_days_1"` // 限制天数
  810. ReduceFeeRatio1 int `orm:"reduce_fee_ratio_1" json:"reduce_fee_ratio_1"` // 超期扣费比率
  811. LimitDays2 int `orm:"limit_days_2" json:"limit_days_2"` // 第二次执行限制天数(修改操作限时)
  812. ReduceFeeRatio2 int `orm:"reduce_fee_ratio_2" json:"reduce_fee_ratio_2"` // 第二次执行超期扣费率
  813. OperateRoleRestrict int `orm:"operate_role_restrict" json:"operate_role_restrict"` // 操作角色限制 1后端 2达人
  814. SortId int `orm:"sort_id" json:"sort_id"` // 在一个任务流程中的排序值
  815. OrderId int `orm:"order_id" json:"order_id"` // 关联的订单和任务id
  816. }
  817. // WorkflowNodeTemplate is the golang structure for table workflow_node_template.
  818. type WorkflowNodeTemplate struct {
  819. TemplateId uint `orm:"template_id,primary" json:"template_id"` //
  820. NodeNameFirst string `orm:"node_name_first" json:"node_name_first"` // 首次执行时的节点名,前端显示
  821. NodeNameAfterSecond string `orm:"node_name_after_second" json:"node_name_after_second"` // 第二次之后执行时的节点名
  822. ProcedureStage int `orm:"procedure_stage" json:"procedure_stage"` // 订单处理流程阶段,如:拍单阶段、初稿阶段
  823. StepInStage uint `orm:"step_in_stage" json:"step_in_stage"` // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
  824. CurExecutionTimes int `orm:"cur_execution_times" json:"cur_execution_times"` // 当前执行次数
  825. MaxExecutionTimes int `orm:"max_execution_times" json:"max_execution_times"` // 最大执行次数
  826. Tip string `orm:"tip" json:"tip"` // 此步骤在达人端的提示
  827. SucNextStep uint `orm:"suc_next_step" json:"suc_next_step"` // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
  828. FailNextStep uint `orm:"fail_next_step" json:"fail_next_step"` // 失败的后续步骤,数值同上
  829. State int `orm:"state" json:"state"` // 状态 1未开启 2进行中 3成功 4失败
  830. FailReason string `orm:"fail_reason" json:"fail_reason"` //
  831. StartDate *gtime.Time `orm:"start_date" json:"start_date"` // 开启日期
  832. CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 完成日期
  833. CompleteUserName string `orm:"complete_user_name" json:"complete_user_name"` // 完成人名
  834. LimitDays1 int `orm:"limit_days_1" json:"limit_days_1"` // 此状态限制天数 0不限制
  835. ReduceFeeRatio1 int `orm:"reduce_fee_ratio_1" json:"reduce_fee_ratio_1"` // 超期扣费比率
  836. LimitDays2 int `orm:"limit_days_2" json:"limit_days_2"` // 第二次执行限制天数(修改操作限时)
  837. ReduceFeeRatio2 int `orm:"reduce_fee_ratio_2" json:"reduce_fee_ratio_2"` // 第二次执行超期扣费率
  838. OperateRoleRestrict int `orm:"operate_role_restrict" json:"operate_role_restrict"` // 操作角色限制 1后端 2达人
  839. SortId int `orm:"sort_id" json:"sort_id"` //
  840. }
  841. // WxPayOrder is the golang structure for table wx_pay_order.
  842. type WxPayOrder struct {
  843. OrderId uint64 `orm:"order_id,primary" json:"order_id"` //
  844. OutTradeNo string `orm:"out_trade_no,unique" json:"out_trade_no"` // 本平台的订单号
  845. WxOrderNo string `orm:"wx_order_no" json:"wx_order_no"` // 微信产生的订单号
  846. PayAmount int64 `orm:"pay_amount" json:"pay_amount"` // 支付金额
  847. TaskName string `orm:"task_name" json:"task_name"` // 任务名称
  848. PayReason int `orm:"pay_reason" json:"pay_reason"` // 支付用途 1拍单
  849. TalentId int `orm:"talent_id" json:"talent_id"` // 达人id
  850. TalentWxNickname string `orm:"talent_wx_nickname" json:"talent_wx_nickname"` // 达人微信昵称
  851. TalentPlatformAccountName string `orm:"talent_platform_account_name" json:"talent_platform_account_name"` // 达人平台账号昵称
  852. TaskId int `orm:"task_id" json:"task_id"` // 任务id
  853. TaskPlatform int `orm:"task_platform" json:"task_platform"` // 任务的社媒平台id
  854. Success int `orm:"success" json:"success"` // 是否成功
  855. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 订单生成时间
  856. Desc string `orm:"desc" json:"desc"` // 描述
  857. }
  858. // YoungeeContractInfo is the golang structure for table youngee_contract_info.
  859. type YoungeeContractInfo struct {
  860. ContractId int `orm:"contract_id,primary" json:"contract_id"` // 合约id
  861. TaskId string `orm:"task_id" json:"task_id"` // 任务id
  862. ProjectId string `orm:"project_id" json:"project_id"` // 任务所属项目id
  863. BreakType int `orm:"break_type" json:"break_type"` // 违约类型(4类严重违约):1(脚本)2(初稿)3(链接)4(数据)
  864. SettlementAmount float64 `orm:"settlement_amount" json:"settlement_amount"` // 应结算金额
  865. BreakAt *gtime.Time `orm:"break_at" json:"break_at"` // 违约时间
  866. HandleAt *gtime.Time `orm:"handle_at" json:"handle_at"` // 处理时间
  867. TerminateAt *gtime.Time `orm:"terminate_at" json:"terminate_at"` // 解约申请时间
  868. DefaultStatus int `orm:"default_status" json:"default_status"` // 违约处理状态1-5分别表示为违约、已重新上传、解约待处理、解约已处理(驳回)、解约已处理(解约)
  869. }
  870. // YoungeeContractSet is the golang structure for table youngee_contract_set.
  871. type YoungeeContractSet struct {
  872. BreakManageId int `orm:"break_manage_id,primary" json:"break_manage_id"` // 违约自动管理策略id
  873. ProejctType int `orm:"proejct_type" json:"proejct_type"` // 项目类型:1:全流程 2:专项
  874. ProjectForm int `orm:"project_form" json:"project_form"` // 任务形式:1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
  875. FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式:1,2,3分别代表产品置换、固定稿费、自报价
  876. BreakType *gtime.Time `orm:"break_type" json:"break_type"` // 违约类型:1-4:初稿、脚本、链接和数据
  877. NouploadCutRatio *gtime.Time `orm:"noupload_cut_ratio" json:"noupload_cut_ratio"` // 未上传 扣款比例
  878. NotimeuploadCutRatio *gtime.Time `orm:"notimeupload_cut_ratio" json:"notimeupload_cut_ratio"` // 未按照规定时间上传脚本 扣款比例
  879. }
  880. // YoungeePlatformAccountInfo is the golang structure for table youngee_platform_account_info.
  881. type YoungeePlatformAccountInfo struct {
  882. AccountId int `orm:"account_id,primary" json:"account_id"` //
  883. TalentId string `orm:"talent_id" json:"talent_id"` // 达人账号id(youngee_talent_info表id值)
  884. PlatformId int `orm:"platform_id" json:"platform_id"` // 平台id,与third_platform_info中的id相同
  885. PlatformNickname string `orm:"platform_nickname" json:"platform_nickname"` // 在平台上的昵称
  886. PlatformType string `orm:"platform_type" json:"platform_type"` // 标签及类型
  887. HomePageUrl string `orm:"home_page_url" json:"home_page_url"` // 主页链接
  888. FansCount int64 `orm:"fans_count" json:"fans_count"` // 粉丝数
  889. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"home_page_capture_url"` // 主页截图链接
  890. BindDate *gtime.Time `orm:"bind_date" json:"bind_date"` // 绑定时间
  891. Deleted int `orm:"deleted" json:"deleted"` // 是否被解绑
  892. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  893. UpdatedPerson int `orm:"updated_person" json:"updated_person"` // 更新人,0代表本人,1代表管理员
  894. UpdatedAdminId string `orm:"updated_admin_id" json:"updated_admin_id"` // 上一次更新的管理员id
  895. }
  896. // YoungeeTalentDeliveryAddress is the golang structure for table youngee_talent_delivery_address.
  897. type YoungeeTalentDeliveryAddress struct {
  898. AddressId int64 `orm:"address_id,primary" json:"address_id"` //
  899. TalentId string `orm:"talent_id" json:"talent_id"` // 达人id(youngee_talent_info表中的id)
  900. RegionCode int `orm:"region_code" json:"region_code"` // 区域码,取info_region表中的self_code字段值
  901. DetailAddr string `orm:"detail_addr" json:"detail_addr"` // 详细地址
  902. PhoneNumber string `orm:"phone_number" json:"phone_number"` // 联系电话
  903. ReceiverName string `orm:"receiver_name" json:"receiver_name"` // 收货人名字
  904. DefaultTag int `orm:"default_tag" json:"default_tag"` // 是否默认收货地址
  905. }
  906. // YoungeeTalentInfo is the golang structure for table youngee_talent_info.
  907. type YoungeeTalentInfo struct {
  908. Id string `orm:"id,primary" json:"id"` // 达人id
  909. TalentWxOpenid string `orm:"talent_wx_openid" json:"talent_wx_openid"` // 达人的微信openid
  910. Avatar string `orm:"avatar" json:"avatar"` //
  911. TalentWxNickname string `orm:"talent_wx_nickname" json:"talent_wx_nickname"` // 达人的微信昵称
  912. Income float64 `orm:"income" json:"income"` // 收益总数
  913. Withdrawing float64 `orm:"withdrawing" json:"withdrawing"` // 提现中金额
  914. Canwithdraw float64 `orm:"canwithdraw" json:"canwithdraw"` // 可提现金额
  915. Withdrawed float64 `orm:"withdrawed" json:"withdrawed"` // 已提现金额
  916. Point int `orm:"point" json:"point"` // 可用积分
  917. TalentPhoneNumber string `orm:"talent_phone_number" json:"talent_phone_number"` // 电话号码
  918. TalentAgeBracket int `orm:"talent_age_bracket" json:"talent_age_bracket"` // 年龄段,取tallent_age_bracket表id
  919. TalentNationality int `orm:"talent_nationality" json:"talent_nationality"` // 国籍,取tallent_nationality表id
  920. VisitStoreRegion int `orm:"visit_store_region" json:"visit_store_region"` // 探店区域,取region_info表中的self_code
  921. IsBindInfo int `orm:"is_bind_info" json:"is_bind_info"` // 是否填写个人资料
  922. IsBindAccount int `orm:"is_bind_account" json:"is_bind_account"` // 是否绑定账号,1是0否
  923. IsBindLocation int `orm:"is_bind_location" json:"is_bind_location"` // 是否绑定收货地址
  924. IsBindBank int `orm:"is_bind_bank" json:"is_bind_bank"` // 是否绑定银行账户信息
  925. InBlacklist int `orm:"in_blacklist" json:"in_blacklist"` // 是否加入黑名单 0否 1是
  926. TaskAll int `orm:"task_all" json:"task_all"` // 任务总数
  927. TaskApply int `orm:"task_apply" json:"task_apply"` // 报名任务数量
  928. TaskExecute int `orm:"task_execute" json:"task_execute"` // 执行中任务数量
  929. TaskEnd int `orm:"task_end" json:"task_end"` // 结束任务数量
  930. CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
  931. LastLoginDate *gtime.Time `orm:"last_login_date" json:"last_login_date"` // 最后登录时间
  932. ApplyNum int `orm:"apply_num" json:"apply_num"` // 剩余申请次数(每天更新)
  933. UserType int `orm:"user_type" json:"user_type"` // 用户类型,1、2分别表示新用户、老用户
  934. }
  935. // YoungeeTaskInfo is the golang structure for table youngee_task_info.
  936. type YoungeeTaskInfo struct {
  937. TaskId string `orm:"task_id,primary" json:"task_id"` // 任务id
  938. ProjectId string `orm:"project_id" json:"project_id"` // 项目id
  939. TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
  940. AccountId int `orm:"account_id" json:"account_id"` // 账号id
  941. StrategyId int `orm:"strategy_id" json:"strategy_id"` // 报名选择的招募策略id
  942. TalentPlatformInfoSnap string `orm:"talent_platform_info_snap" json:"talent_platform_info_snap"` // 达人平台信息快照
  943. TalentPersonalInfoSnap string `orm:"talent_personal_info_snap" json:"talent_personal_info_snap"` // 达人个人信息快照
  944. TalentPostAddrSnap string `orm:"talent_post_addr_snap" json:"talent_post_addr_snap"` // 收货地址快照
  945. TaskReward float64 `orm:"task_reward" json:"task_reward"` // 达人报酬
  946. SettleAmount float64 `orm:"settle_amount" json:"settle_amount"` // 达人实际所得(扣除违约扣款)
  947. AllPayment float64 `orm:"all_payment" json:"all_payment"` // 企业支付
  948. RealPayment float64 `orm:"real_payment" json:"real_payment"` // 企业实际支付(扣除违约扣款)
  949. ServiceRate int `orm:"service_rate" json:"service_rate"` // 服务费率,千分之
  950. ServiceCharge float64 `orm:"service_charge" json:"service_charge"` // 服务费
  951. FeeForm int `orm:"fee_form" json:"fee_form"` // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
  952. ErrBreakRate int `orm:"err_break_rate" json:"err_break_rate"` // 未上传类型违约扣款比例,百分之
  953. ScriptBreakRate int `orm:"script_break_rate" json:"script_break_rate"` // 脚本上传超时违约扣款比例,百分之
  954. SketchBreakRate int `orm:"sketch_break_rate" json:"sketch_break_rate"` // 初稿上传超时违约扣款比例,百分之
  955. LinkBreakRate int `orm:"link_break_rate" json:"link_break_rate"` // 链接上传超时违约扣款比例,百分之
  956. DataBreakRate int `orm:"data_break_rate" json:"data_break_rate"` // 数据上传超时违约扣款比例,百分之
  957. TaskStage int `orm:"task_stage" json:"task_stage"` //
  958. TaskStatus int `orm:"task_status" json:"task_status"` // 任务状态 1待选 2已选 3落选
  959. LogisticsStatus int `orm:"logistics_status" json:"logistics_status"` // 发货状态 1 待发货 2已发货 3 已签收
  960. ScriptStatus uint `orm:"script_status" json:"script_status"` // 脚本上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
  961. SketchStatus uint `orm:"sketch_status" json:"sketch_status"` // 初稿上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
  962. LinkStatus uint `orm:"link_status" json:"link_status"` // 链接上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
  963. DataStatus uint `orm:"data_status" json:"data_status"` // 数据上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
  964. CompleteStatus int `orm:"complete_status" json:"complete_status"` // 结束方式 1未结束 2正常结束 3反选失败 4被解约
  965. UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 更新时间
  966. CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
  967. SelectDate *gtime.Time `orm:"select_date" json:"select_date"` // 反选时间
  968. DeliveryDate *gtime.Time `orm:"delivery_date" json:"delivery_date"` // 发货时间
  969. CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 结束时间
  970. WithdrawDate *gtime.Time `orm:"withdraw_date" json:"withdraw_date"` // 提现时间
  971. CurDefaultType int `orm:"cur_default_type" json:"cur_default_type"` // 任务当前处于的违约类型 0-10分别表示未违约、脚本超时违约、脚本未上传违约、初稿超时违约、初稿未上传违约、链接超时违约、链接未上传违约、数据超时违约、数据未上传违约、解约待处理、解约
  972. WithdrawStatus int `orm:"withdraw_status" json:"withdraw_status"` // 提现状态,1-4分别代表不可提现、可提现、提现中、已提现
  973. LeadTeamId string `orm:"lead_team_id" json:"lead_team_id"` // 作为团长的young之团id,对应younggee_talent_team中的team_id字段
  974. TeamId string `orm:"team_id" json:"team_id"` // 作为团员的young之团id,对应younggee_talent_team中的team_id字段
  975. SettleStatus int `orm:"settle_status" json:"settle_status"` // 结算状态,1、2分别表示待结算、已结算
  976. TeamIncome float64 `orm:"team_income" json:"team_income"` // young之团团长现金收益
  977. TeamPoint int `orm:"team_point" json:"team_point"` // young之团团长积分收益
  978. CurBreakAt *gtime.Time `orm:"cur_break_at" json:"cur_break_at"` // 当前阶段截止时间
  979. }
  980. // YoungeeTaskLogistics is the golang structure for table youngee_task_logistics.
  981. type YoungeeTaskLogistics struct {
  982. LogisticsId int `orm:"logistics_id,primary" json:"logistics_id"` // 货物-id
  983. CompanyName string `orm:"company_name" json:"company_name"` // 实物商品-物流公司名称
  984. LogisticsNumber string `orm:"logistics_number" json:"logistics_number"` // 实物商品-物流单号
  985. ExplorestoreStarttime *gtime.Time `orm:"explorestore_starttime" json:"explorestore_starttime"` // 线下探店-探店开始时间
  986. ExplorestoreEndtime *gtime.Time `orm:"explorestore_endtime" json:"explorestore_endtime"` // 线下探店-探店结束时间
  987. ExplorestorePeriod string `orm:"explorestore_period" json:"explorestore_period"` // 线下探店-探店持续时间
  988. CouponCodeInformation string `orm:"coupon_code_information" json:"coupon_code_information"` // 虚拟产品-券码信息
  989. TaskId string `orm:"task_id,unique" json:"task_id"` // 任务id
  990. DeliveryTime *gtime.Time `orm:"delivery_time" json:"delivery_time"` // 发货时间
  991. ThingsType int `orm:"things_type" json:"things_type"` // 任务类型:1 实物,2:线下探店,3:虚拟产品
  992. SignedTime *gtime.Time `orm:"signed_time" json:"signed_time"` // 实物商品-签收时间
  993. AutoSignAt *gtime.Time `orm:"auto_sign_at" json:"auto_sign_at"` // 自动签收时间
  994. AutoScriptBreakAt *gtime.Time `orm:"auto_script_break_at" json:"auto_script_break_at"` // 脚本违约自动处理时间
  995. AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
  996. Status int `orm:"status" json:"status"` // 签收状态,0为未签收,1为已签收
  997. }
  998. // YounggeeAssignmentInfo is the golang structure for table younggee_assignment_info.
  999. type YounggeeAssignmentInfo struct {
  1000. AssignmentId int `orm:"assignment_id,primary" json:"assignment_id"` // 作业id,递增
  1001. TaskId string `orm:"task_id,unique" json:"task_id"` // 任务id
  1002. LinkUrl string `orm:"link_url" json:"link_url"` // 作业连接
  1003. PhotoUrl string `orm:"photo_url" json:"photo_url"` // 作业截图
  1004. ReviseOpinion string `orm:"revise_opinion" json:"revise_opinion"` // 审核意见
  1005. IsSubmit int `orm:"is_submit" json:"is_submit"` // 是否提交
  1006. IsReview int `orm:"is_review" json:"is_review"` // 是否审核
  1007. IsOk int `orm:"is_ok" json:"is_ok"` // 是否合格
  1008. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  1009. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
  1010. AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
  1011. RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
  1012. }
  1013. // YounggeeDataInfo is the golang structure for table younggee_data_info.
  1014. type YounggeeDataInfo struct {
  1015. DataId int `orm:"data_id,primary" json:"data_id"` // 脚本id
  1016. TaskId string `orm:"task_id" json:"task_id"` // 任务id
  1017. PlayNumber int `orm:"play_number" json:"play_number"` // 播放量/阅读量
  1018. LikeNumber int `orm:"like_number" json:"like_number"` // 点赞数
  1019. CommentNumber int `orm:"comment_number" json:"comment_number"` // 评论数
  1020. CollectNumber int `orm:"collect_number" json:"collect_number"` // 收藏数
  1021. PhotoUrl string `orm:"photo_url" json:"photo_url"` // 数据截图url
  1022. ReviseOpinion string `orm:"revise_opinion" json:"revise_opinion"` // 审核意见
  1023. IsSubmit int `orm:"is_submit" json:"is_submit"` // 是否提交
  1024. IsReview int `orm:"is_review" json:"is_review"` // 是否审核
  1025. IsOk int `orm:"is_ok" json:"is_ok"` // 是否合格
  1026. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  1027. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
  1028. AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
  1029. RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
  1030. AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 结案自动处理时间
  1031. AutoDataBreakAt *gtime.Time `orm:"auto_data_break_at" json:"auto_data_break_at"` // 结案违约自动处理时间
  1032. }
  1033. // YounggeeInvoiceAddress is the golang structure for table younggee_invoice_address.
  1034. type YounggeeInvoiceAddress struct {
  1035. AddressId int `orm:"address_id,primary" json:"address_id"` // 发票收件地址id
  1036. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
  1037. Name string `orm:"name" json:"name"` // 收件人姓名
  1038. RegionCode string `orm:"region_code" json:"region_code"` // 所在地区编码
  1039. Address string `orm:"address" json:"address"` // 详细地址
  1040. Phone string `orm:"phone" json:"phone"` // 手机号码
  1041. UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 创建时间
  1042. }
  1043. // YounggeeInvoiceInfo is the golang structure for table younggee_invoice_info.
  1044. type YounggeeInvoiceInfo struct {
  1045. InvoiceId int `orm:"invoice_id,primary" json:"invoice_id"` // 发票信息id
  1046. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
  1047. HeadType string `orm:"head_type" json:"head_type"` // 抬头类型
  1048. InvoiceHeader string `orm:"invoice_header" json:"invoice_header"` // 发票抬头
  1049. InvoiceType string `orm:"invoice_type" json:"invoice_type"` // 发票类型
  1050. TaxCode string `orm:"tax_code" json:"tax_code"` // 税务登记证号/统一社会信用代码
  1051. Bank string `orm:"bank" json:"bank"` // 基本户开户银行
  1052. BankCardNumber string `orm:"bank_card_number" json:"bank_card_number"` // 基本户开户银行账号
  1053. RegisteredAddress string `orm:"registered_address" json:"registered_address"` // 企业注册地址
  1054. RegisteredPhone string `orm:"registered_phone" json:"registered_phone"` // 企业注册电话
  1055. UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 更新时间
  1056. }
  1057. // YounggeeInvoiceRecord is the golang structure for table younggee_invoice_record.
  1058. type YounggeeInvoiceRecord struct {
  1059. BillingId string `orm:"billing_id,primary" json:"billing_id"` // 开票订单ID
  1060. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
  1061. InvoiceType string `orm:"invoice_type" json:"invoice_type"` // 发票类型
  1062. InvoiceAmount float64 `orm:"invoice_amount" json:"invoice_amount"` // 开票金额
  1063. InvoiceSnap string `orm:"invoice_snap" json:"invoice_snap"` // 开票信息快照
  1064. AddressSnap string `orm:"address_snap" json:"address_snap"` // 邮寄地址快照
  1065. Phone string `orm:"phone" json:"phone"` // 联系方式
  1066. Status int `orm:"status" json:"status"` // 开票状态:1 为待开票,2为已开票
  1067. ShipmentNumber string `orm:"shipment_number" json:"shipment_number"` // 物流单号
  1068. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 申请提交时间
  1069. BillingAt *gtime.Time `orm:"billing_at" json:"billing_at"` // 开票时间
  1070. }
  1071. // YounggeeLinkInfo is the golang structure for table younggee_link_info.
  1072. type YounggeeLinkInfo struct {
  1073. LinkId int `orm:"link_id,primary" json:"link_id"` // 链接id
  1074. TaskId string `orm:"task_id" json:"task_id"` // 任务id
  1075. LinkUrl string `orm:"link_url" json:"link_url"` // 上传链接url
  1076. PhotoUrl string `orm:"photo_url" json:"photo_url"` // 上传截图url
  1077. ReviseOpinion string `orm:"revise_opinion" json:"revise_opinion"` // 审核意见
  1078. IsSubmit int `orm:"is_submit" json:"is_submit"` // 是否提交
  1079. IsReview int `orm:"is_review" json:"is_review"` // 是否审核
  1080. IsOk int `orm:"is_ok" json:"is_ok"` // 是否合格
  1081. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  1082. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
  1083. AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
  1084. RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
  1085. AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 发布审核自动处理时间
  1086. AutoDataBreakAt *gtime.Time `orm:"auto_data_break_at" json:"auto_data_break_at"` // 结案违约自动处理时间
  1087. AutoLinkBreakAt *gtime.Time `orm:"auto_link_break_at" json:"auto_link_break_at"` // 链接违约自动处理时间
  1088. }
  1089. // YounggeeMessageInfo is the golang structure for table younggee_message_info.
  1090. type YounggeeMessageInfo struct {
  1091. Id int `orm:"id,primary" json:"id"` // id,递增
  1092. MessageId int `orm:"message_id" json:"message_id"` // 消息内容id,对应info_message
  1093. MessageType int `orm:"message_type" json:"message_type"` // 消息类型,1-4分别表示成功、通知、错误、警告
  1094. TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
  1095. ProjectName string `orm:"project_name" json:"project_name"` // 项目名称
  1096. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 消息创建时间
  1097. IsReaded int `orm:"is_readed" json:"is_readed"` // 是否已读,1表示未读,2表示已读
  1098. IsDeleted int `orm:"is_deleted" json:"is_deleted"` // 是否删除,1表示未删,2表示已删
  1099. }
  1100. // YounggeeProduct is the golang structure for table younggee_product.
  1101. type YounggeeProduct struct {
  1102. ProductId int `orm:"product_id,primary" json:"product_id"` // 商品id
  1103. ProductName string `orm:"product_name" json:"product_name"` // 商品名称
  1104. ProductType int `orm:"product_type" json:"product_type"` // 商品类型
  1105. ShopAddress string `orm:"shop_address" json:"shop_address"` // 店铺地址,商品类型为线下品牌时需填写
  1106. ProductPrice float64 `orm:"product_price" json:"product_price"` // 商品价值
  1107. ProductDetail string `orm:"product_detail" json:"product_detail"` //
  1108. ProductUrl string `orm:"product_url" json:"product_url"` // 商品链接,可为电商网址、公司官网、大众点评的店铺地址等可以说明商品信息或者品牌信息的线上地址;
  1109. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
  1110. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  1111. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  1112. BrandName string `orm:"brand_name" json:"brand_name"` //
  1113. }
  1114. // YounggeeProductPhoto is the golang structure for table younggee_product_photo.
  1115. type YounggeeProductPhoto struct {
  1116. ProductPhotoId int `orm:"product_photo_id,primary" json:"product_photo_id"` // 商品图片id
  1117. ProductId int `orm:"product_id" json:"product_id"` // 所属商品id
  1118. Symbol int `orm:"symbol" json:"symbol"` // 图片为主图或详情图标志位,1为主图,2为详情图,3为视频
  1119. PhotoUrl string `orm:"photo_url" json:"photo_url"` // 图片或视频url
  1120. PhotoUid string `orm:"photo_uid" json:"photo_uid"` //
  1121. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  1122. }
  1123. // YounggeeRechargeRecord is the golang structure for table younggee_recharge_record.
  1124. type YounggeeRechargeRecord struct {
  1125. RechargeId string `orm:"recharge_id,primary" json:"recharge_id"` // 充值订单ID
  1126. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 企业id
  1127. RechargeAmount float64 `orm:"recharge_amount" json:"recharge_amount"` // 充值金额
  1128. TransferVoucherUrl string `orm:"transfer_voucher_url" json:"transfer_voucher_url"` // 转账凭证图片链接
  1129. Phone string `orm:"phone" json:"phone"` // 联系方式
  1130. RechargeMethod int `orm:"recharge_method" json:"recharge_method"` // 充值方式:1为对公转账,2为支付宝在线支付,3为微信支付
  1131. Status int `orm:"status" json:"status"` // 充值状态:1为充值待确认,2为充值已确认
  1132. InvoiceStatus int `orm:"invoice_status" json:"invoice_status"` // 开票状态:1为充值中,2为待开票,3为已开票
  1133. CommitAt *gtime.Time `orm:"commit_at" json:"commit_at"` // 充值申请提交时间
  1134. ConfirmAt *gtime.Time `orm:"confirm_at" json:"confirm_at"` // 充值确认时间
  1135. }
  1136. // YounggeeScriptInfo is the golang structure for table younggee_script_info.
  1137. type YounggeeScriptInfo struct {
  1138. ScriptId int `orm:"script_id,primary" json:"script_id"` // 脚本id
  1139. TaskId string `orm:"task_id" json:"task_id"` // 任务id
  1140. Title string `orm:"title" json:"title"` // 脚本标题
  1141. Content string `orm:"content" json:"content"` // 脚本内容
  1142. ReviseOpinion string `orm:"revise_opinion" json:"revise_opinion"` // 审核意见
  1143. IsSubmit int `orm:"is_submit" json:"is_submit"` // 是否提交
  1144. IsReview int `orm:"is_review" json:"is_review"` // 是否审核
  1145. IsOk int `orm:"is_ok" json:"is_ok"` // 是否合格
  1146. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  1147. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
  1148. AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
  1149. RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
  1150. AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 脚本自动审核时间
  1151. AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
  1152. AutoScriptBreakAt *gtime.Time `orm:"auto_script_break_at" json:"auto_script_break_at"` // 脚本违约自动处理时间
  1153. }
  1154. // YounggeeSecBrief is the golang structure for table younggee_sec_brief.
  1155. type YounggeeSecBrief struct {
  1156. SectionBriefId int `orm:"section_brief_id,primary" json:"section_brief_id"` // brief的Id
  1157. FileUrl string `orm:"file_url" json:"file_url"` // 文件url
  1158. FileUid string `orm:"file_uid" json:"file_uid"` // 文件uid
  1159. SelectionId string `orm:"selection_id" json:"selection_id"` // 所属选品id
  1160. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  1161. FileName string `orm:"file_name" json:"file_name"` // 文件名称
  1162. }
  1163. // YounggeeSecExample is the golang structure for table younggee_sec_example.
  1164. type YounggeeSecExample struct {
  1165. ExampleId int `orm:"example_id,primary" json:"example_id"` // 选品示例图id
  1166. FileUrl string `orm:"file_url" json:"file_url"` // 文件url
  1167. FileUid string `orm:"file_uid" json:"file_uid"` // 文件uid
  1168. SelectionId string `orm:"selection_id" json:"selection_id"` // 所属项目id
  1169. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  1170. FileName string `orm:"file_name" json:"file_name"` // 文件名称
  1171. }
  1172. // YounggeeSecTaskInfo is the golang structure for table younggee_sec_task_info.
  1173. type YounggeeSecTaskInfo struct {
  1174. Id int `orm:"id,primary" json:"id"` // 递增id
  1175. TaskId string `orm:"task_id" json:"task_id"` // 选品任务id
  1176. SelectionId string `orm:"selection_id" json:"selection_id"` // 选品id
  1177. TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
  1178. AccountId int `orm:"account_id" json:"account_id"` // 账号id
  1179. TalentPlatformInfoSnap string `orm:"talent_platform_info_snap" json:"talent_platform_info_snap"` // 达人平台信息快照
  1180. TalentPersonalInfoSnap string `orm:"talent_personal_info_snap" json:"talent_personal_info_snap"` // 达人个人信息快照
  1181. TalentPostAddrSnap string `orm:"talent_post_addr_snap" json:"talent_post_addr_snap"` // 收货地址快照
  1182. TaskReward float64 `orm:"task_reward" json:"task_reward"` // 达人赏金
  1183. TalentPayment float64 `orm:"talent_payment" json:"talent_payment"` // 达人垫付金额
  1184. IsPayPayment int `orm:"is_pay_payment" json:"is_pay_payment"` // 企业是否返样品钱
  1185. IsPayReward int `orm:"is_pay_reward" json:"is_pay_reward"` // 企业是否结算悬赏
  1186. TaskMode int `orm:"task_mode" json:"task_mode"` // 任务形式,1、2分别表示纯佣带货、悬赏任务
  1187. SampleMode int `orm:"sample_mode" json:"sample_mode"` // 领样形式,1-3分别表示免费领样、垫付买样、不提供样品
  1188. TaskStatus int `orm:"task_status" json:"task_status"` // 任务状态 1待选 2已选 3落选
  1189. TaskStage int `orm:"task_stage" json:"task_stage"` // 任务阶段,详情见info_sec_task_stage表
  1190. CreateDate *gtime.Time `orm:"create_date" json:"create_date"` // 创建时间
  1191. SelectDate *gtime.Time `orm:"select_date" json:"select_date"` // 反选时间
  1192. DeliveryDate *gtime.Time `orm:"delivery_date" json:"delivery_date"` // 发货时间
  1193. CompleteDate *gtime.Time `orm:"complete_date" json:"complete_date"` // 结束时间
  1194. WithdrawDate *gtime.Time `orm:"withdraw_date" json:"withdraw_date"` // 提现时间
  1195. CompleteStatus int `orm:"complete_status" json:"complete_status"` // 结束方式 1未结束 2正常结束 3反选失败
  1196. LogisticsStatus int `orm:"logistics_status" json:"logistics_status"` // 发货状态 1 待发货 2已发货 3 已签收
  1197. AssignmentStatus uint `orm:"assignment_status" json:"assignment_status"` // 作业上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
  1198. UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` // 更新时间
  1199. WithdrawStatus int `orm:"withdraw_status" json:"withdraw_status"` // 提现状态,1-4分别代表不可提现、可提现、提现中、已提现
  1200. LeadTeamId string `orm:"lead_team_id" json:"lead_team_id"` // 作为团长的young之团id,对应younggee_talent_team中的team_id字段
  1201. TeamId string `orm:"team_id" json:"team_id"` // 作为团员的young之团id,对应younggee_talent_team中的team_id字段
  1202. TeamIncome int `orm:"team_income" json:"team_income"` // young之团团长现金收益
  1203. TeamPoint int `orm:"team_point" json:"team_point"` // young之团团长积分收益
  1204. }
  1205. // YounggeeSelectionInfo is the golang structure for table younggee_selection_info.
  1206. type YounggeeSelectionInfo struct {
  1207. SelectionId string `orm:"selection_id,primary" json:"selection_id"` // 选品项目id
  1208. SelectionName string `orm:"selection_name" json:"selection_name"` // 选品项目名称
  1209. EnterpriseId string `orm:"enterprise_id" json:"enterprise_id"` // 所属企业id
  1210. ProductId int `orm:"product_id" json:"product_id"` // 关联商品id
  1211. ContentType int `orm:"content_type" json:"content_type"` // 内容形式,1代表图文,2代表视频,3代表直播
  1212. SelectionStatus int `orm:"selection_status" json:"selection_status"` // 选品项目状态,1-8分别代表创建中、待审核、审核通过、待支付、已支付、执行中、失效、已结案
  1213. TaskMode int `orm:"task_mode" json:"task_mode"` // 任务形式,1、2分别表示悬赏任务、纯佣带货
  1214. Platform int `orm:"platform" json:"platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
  1215. SampleMode int `orm:"sample_mode" json:"sample_mode"` // 领样形式,1、2、3分别表示免费领样、垫付领样、不提供样品
  1216. ProductUrl string `orm:"product_url" json:"product_url"` // 带货链接
  1217. SampleNum int `orm:"sample_num" json:"sample_num"` // 样品数量
  1218. RemainNum int `orm:"remain_num" json:"remain_num"` // 剩余数量
  1219. CommissionRate float64 `orm:"commission_rate" json:"commission_rate"` // 佣金比例
  1220. EstimatedCost float64 `orm:"estimated_cost" json:"estimated_cost"` // 预估成本
  1221. TaskReward float64 `orm:"task_reward" json:"task_reward"` // 任务悬赏
  1222. SampleCondition string `orm:"sample_condition" json:"sample_condition"` // 领样条件
  1223. RewardCondition string `orm:"reward_condition" json:"reward_condition"` // 返现悬赏条件
  1224. SettlementAmount float64 `orm:"settlement_amount" json:"settlement_amount"` // 结算金额
  1225. TaskDdl *gtime.Time `orm:"task_ddl" json:"task_ddl"` // 招募截止时间
  1226. Detail string `orm:"detail" json:"detail"` // 卖点总结
  1227. ProductSnap string `orm:"product_snap" json:"product_snap"` // 商品信息快照
  1228. ProductPhotoSnap string `orm:"product_photo_snap" json:"product_photo_snap"` // 商品图片快照
  1229. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  1230. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 修改时间
  1231. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交审核时间
  1232. PassAt *gtime.Time `orm:"pass_at" json:"pass_at"` // 审核通过时间
  1233. FailReason int `orm:"fail_reason" json:"fail_reason"` // 失效原因,1、2分别表示逾期未支付、项目存在风险
  1234. PayAt *gtime.Time `orm:"pay_at" json:"pay_at"` // 支付时间
  1235. FinishAt *gtime.Time `orm:"finish_at" json:"finish_at"` // 结案时间
  1236. IsRead int `orm:"is_read" json:"is_read"` // 是否已读
  1237. AutoTaskId int `orm:"auto_task_id" json:"auto_task_id"` // 定时任务id
  1238. AutoFailAt *gtime.Time `orm:"auto_fail_at" json:"auto_fail_at"` // 失效自动处理时间
  1239. }
  1240. // YounggeeSketchInfo is the golang structure for table younggee_sketch_info.
  1241. type YounggeeSketchInfo struct {
  1242. SketchId int `orm:"sketch_id,primary" json:"sketch_id"` // 初稿id
  1243. TaskId string `orm:"task_id" json:"task_id"` // 任务id
  1244. Title string `orm:"title" json:"title"` // 标题
  1245. Type int `orm:"type" json:"type"` // 初稿形式,1为图片,2为视频
  1246. Content string `orm:"content" json:"content"` // 正文
  1247. ReviseOpinion string `orm:"revise_opinion" json:"revise_opinion"` // 反馈意见
  1248. IsSubmit int `orm:"is_submit" json:"is_submit"` // 是否提交
  1249. IsReview int `orm:"is_review" json:"is_review"` // 是否审核
  1250. IsOk int `orm:"is_ok" json:"is_ok"` // 是否合格
  1251. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  1252. AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
  1253. RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
  1254. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
  1255. AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 初稿自动审核时间
  1256. AutoLinkBreakAt *gtime.Time `orm:"auto_link_break_at" json:"auto_link_break_at"` // 链接违约自动处理时间
  1257. AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
  1258. }
  1259. // YounggeeSketchPhoto is the golang structure for table younggee_sketch_photo.
  1260. type YounggeeSketchPhoto struct {
  1261. Id int `orm:"id,primary" json:"id"` // 脚本id
  1262. SketchId int `orm:"sketch_id" json:"sketch_id"` //
  1263. PhotoUrl string `orm:"photo_url" json:"photo_url"` //
  1264. PhotoUid string `orm:"photo_uid" json:"photo_uid"` //
  1265. Symbol int `orm:"symbol" json:"symbol"` // 1是图片,2是视频
  1266. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` //
  1267. }
  1268. // YounggeeTalentBank is the golang structure for table younggee_talent_bank.
  1269. type YounggeeTalentBank struct {
  1270. Id int `orm:"id,primary" json:"id"` // id
  1271. TalentId string `orm:"talent_id,unique" json:"talent_id"` // 达人id,取younggee_talent_info表中的id字段值
  1272. Name string `orm:"name" json:"name"` // 户主姓名
  1273. Phone string `orm:"phone" json:"phone"` // 手机号
  1274. Bank string `orm:"bank" json:"bank"` // 银行
  1275. BankCardNumber string `orm:"bank_card_number" json:"bank_card_number"` // 银行卡号
  1276. BankOpenAddress int `orm:"bank_open_address" json:"bank_open_address"` // 开户地址区域码,取info_region表中的self_code字段值
  1277. AlipayNumber string `orm:"alipay_number" json:"alipay_number"` // 支付宝账号
  1278. AlipayRealName string `orm:"alipay_real_name" json:"alipay_real_name"` // 支付宝真实姓名
  1279. AlipayCardId string `orm:"alipay_card_id" json:"alipay_card_id"` // 支付宝身份证号
  1280. BankCardId string `orm:"bank_card_id" json:"bank_card_id"` // 银行卡身份证号
  1281. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` //
  1282. UpdateAt *gtime.Time `orm:"update_at" json:"update_at"` //
  1283. }
  1284. // YounggeeTalentIncome is the golang structure for table younggee_talent_income.
  1285. type YounggeeTalentIncome struct {
  1286. Id int `orm:"id,primary" json:"id"` // 递增id
  1287. TalentId string `orm:"talent_id" json:"talent_id"` // 达人id,对应youngee_talent_info中id字段
  1288. ProjectId string `orm:"project_id" json:"project_id"` // 项目id
  1289. SelectionId string `orm:"selection_id" json:"selection_id"` // 选品id
  1290. TaskId string `orm:"task_id" json:"task_id"` // 任务id
  1291. SectaskId string `orm:"sectask_id" json:"sectask_id"` // 选品任务id
  1292. BrandName string `orm:"brand_name" json:"brand_name"` // 品牌名称
  1293. TaskName string `orm:"task_name" json:"task_name"` // 任务名称
  1294. TeamId string `orm:"team_id" json:"team_id"` // young之团id
  1295. Income float64 `orm:"income" json:"income"` // 收益金额
  1296. IncomeType int `orm:"income_type" json:"income_type"` // 收益类型,1-4分别表示任务收益、开团收益、样品返现、悬赏收益
  1297. WithdrawStatus int `orm:"withdraw_status" json:"withdraw_status"` // 提现状态,1-3分别表示可提现、提现中、已提现
  1298. IncomeAt *gtime.Time `orm:"income_at" json:"income_at"` // 收益产生时间
  1299. WithdrawAt *gtime.Time `orm:"withdraw_at" json:"withdraw_at"` // 提现时间
  1300. PhotoUrl string `orm:"photo_url" json:"photo_url"` // 商品主图
  1301. Type int `orm:"type" json:"type"` // 选品or项目,1:项目,2:选品
  1302. }
  1303. // YounggeeTalentPointRecord is the golang structure for table younggee_talent_point_record.
  1304. type YounggeeTalentPointRecord struct {
  1305. Id int `orm:"id,primary" json:"id"` // 递增id
  1306. TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
  1307. PointIncome int `orm:"point_income" json:"point_income"` // 收益积分
  1308. IncomeSource string `orm:"income_source" json:"income_source"` // 收益来源
  1309. IncomeSourceId int `orm:"income_source_id" json:"income_source_id"` // 收益来源id
  1310. IncomeAt *gtime.Time `orm:"income_at" json:"income_at"` // 收益时间
  1311. }
  1312. // YounggeeTalentTeam is the golang structure for table younggee_talent_team.
  1313. type YounggeeTalentTeam struct {
  1314. Id int `orm:"id,primary" json:"id"` // 递增id
  1315. TeamId string `orm:"team_id" json:"team_id"` // young之团id,10位随机数
  1316. TalentId string `orm:"talent_id" json:"talent_id"` // 团长达人id,对应youngee_talent_info中id字段
  1317. ProjectId string `orm:"project_id" json:"project_id"` // 项目id
  1318. SelectionId string `orm:"selection_id" json:"selection_id"` // 选品id
  1319. ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,1为项目,2为选品
  1320. ProjectName string `orm:"project_name" json:"project_name"` // 项目名称
  1321. ProjectPhoto string `orm:"project_photo" json:"project_photo"` // 项目主图
  1322. Platform int `orm:"platform" json:"platform"` // 项目平台
  1323. TeamStatus int `orm:"team_status" json:"team_status"` // young之团状态,1表示创建中,2表示开团中,3表示已结束
  1324. NumApply int `orm:"num_apply" json:"num_apply"` // 报名人数
  1325. NumApplySuccess int `orm:"num_apply_success" json:"num_apply_success"` // 申请成功人数
  1326. NumEnd int `orm:"num_end" json:"num_end"` // 结案人数
  1327. PointIncome int `orm:"point_income" json:"point_income"` // 积分收益
  1328. MoneyIncome float64 `orm:"money_income" json:"money_income"` // 现金收益
  1329. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 成团时间
  1330. EndAt *gtime.Time `orm:"end_at" json:"end_at"` // 结束时间
  1331. }
  1332. // YounggeeTaskLog is the golang structure for table younggee_task_log.
  1333. type YounggeeTaskLog struct {
  1334. LogId int `orm:"log_id,primary" json:"log_id"` // 任务日志id
  1335. TaskId string `orm:"task_id" json:"task_id"` // 任务id
  1336. Content string `orm:"content" json:"content"` // 内容
  1337. LogAt *gtime.Time `orm:"log_at" json:"log_at"` // 时间
  1338. }
  1339. // YounggeeTaskMessage is the golang structure for table younggee_task_message.
  1340. type YounggeeTaskMessage struct {
  1341. Id int `orm:"id,primary" json:"id"` // 银行id
  1342. Name string `orm:"name" json:"name"` // 银行名称
  1343. }
  1344. // YounggeeTeamRewardConfig is the golang structure for table younggee_team_reward_config.
  1345. type YounggeeTeamRewardConfig struct {
  1346. Id int `orm:"id,primary" json:"id"` // 自增id
  1347. ProjectType int `orm:"project_type" json:"project_type"` // 项目类型,1、2分别为全流程项目、选品项目
  1348. Platform int `orm:"platform" json:"platform"` // 社媒平台
  1349. TaskForm int `orm:"task_form" json:"task_form"` // 任务形式,1-5为实体商品寄拍、虚拟产品测评、线下探店打卡、悬赏任务、纯佣带货;
  1350. ContentForm int `orm:"content_form" json:"content_form"` // 内容形式,1-3为图文、视频、直播
  1351. RewardReason int `orm:"reward_reason" json:"reward_reason"` // 奖励原因,1-4为成团-新用户、成团-老用户、成单-申请成功、成单-结案完毕
  1352. Point int `orm:"point" json:"point"` // 积分奖励
  1353. Money int `orm:"money" json:"money"` // 现金奖励,结算额百分比
  1354. CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
  1355. }
  1356. // YounggeeUser is the golang structure for table younggee_user.
  1357. type YounggeeUser struct {
  1358. Id int `orm:"id,primary" json:"id"` // 用户表id
  1359. User string `orm:"user" json:"user"` // 账号
  1360. Username string `orm:"username" json:"username"` // 后台用户名
  1361. Password string `orm:"password" json:"password"` // 用户密码
  1362. RealName string `orm:"real_name" json:"real_name"` // 真实姓名
  1363. Role string `orm:"role" json:"role"` // 角色 1,超级管理员; 2,管理员;3,企业用户
  1364. Phone string `orm:"phone,unique" json:"phone"` // 绑定手机
  1365. Email string `orm:"email" json:"email"` // 电子邮件
  1366. LastLoginTime *gtime.Time `orm:"last_login_time" json:"last_login_time"` // 最后一次登录时间
  1367. UserState string `orm:"user_state" json:"user_state"` // 0,禁用,1,正常
  1368. CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` // 创建时间
  1369. UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` // 更新时间
  1370. }
  1371. // YounggeeWithdrawRecord is the golang structure for table younggee_withdraw_record.
  1372. type YounggeeWithdrawRecord struct {
  1373. WithdrawId string `orm:"withdraw_id,primary" json:"withdraw_id"` // 提现订单ID
  1374. TalentId string `orm:"talent_id" json:"talent_id"` // 达人id
  1375. WithdrawAmount float64 `orm:"withdraw_amount" json:"withdraw_amount"` // 提现金额
  1376. AmountPayable float64 `orm:"amount_payable" json:"amount_payable"` // 应付金额
  1377. PayPoint int `orm:"pay_point" json:"pay_point"` // 抵扣积分
  1378. IncomeIdList string `orm:"income_id_list" json:"income_id_list"` // 该提现订单包含的income_id列表
  1379. ReceiveInfo string `orm:"receive_info" json:"receive_info"` // 收款信息
  1380. Status int `orm:"status" json:"status"` // 提现状态:1为提现待确认,2为已提现
  1381. BankType int `orm:"bank_type" json:"bank_type"` // 到账方式,1为支付宝,2为银行卡
  1382. SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 申请提交时间
  1383. WithdrawAt *gtime.Time `orm:"withdraw_at" json:"withdraw_at"` // 提现时间
  1384. }