model.go 134 KB

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