model.go 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  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:"recordId"` // 扣费记录ID
  11. TalentId int `orm:"talent_id" json:"talentId"` // 达人id
  12. BobocoinValue int64 `orm:"bobocoin_value" json:"bobocoinValue"` // 冻结的卜卜币数量(真实数量 * 100)
  13. OrderId uint64 `orm:"order_id" json:"orderId"` // 订单id,如果是订单执行产生的扣费,则有值
  14. ProcedureStage int `orm:"procedure_stage" json:"procedureStage"` // 订单的执行步骤,如果是订单产生的扣费,则有此值
  15. Reason int `orm:"reason" json:"reason"` // 扣费原因 1任务超期冻结 2拍单费用 3延期发放
  16. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  17. OperationStage string `orm:"operation_stage" json:"operationStage"` // 扣款步骤名称
  18. TaskName string `orm:"task_name" json:"taskName"` // 任务名称(冗余)
  19. }
  20. // BobocoinIncomeRecord is the golang structure for table bobocoin_income_record.
  21. type BobocoinIncomeRecord struct {
  22. RecordId uint64 `orm:"record_id,primary" json:"recordId"` // 记录id,主键,自增
  23. BobocoinValue int64 `orm:"bobocoin_value" json:"bobocoinValue"` // 收入的卜卜币数量
  24. OrderId int `orm:"order_id" json:"orderId"` // 获得卜卜币的订单id
  25. RecruitLevelId int `orm:"recruit_level_id" json:"recruitLevelId"` // 获得卜卜币的任务的招募级别
  26. TalentId int `orm:"talent_id" json:"talentId"` // 达人id
  27. CompleteDate *gtime.Time `orm:"complete_date" json:"completeDate"` // 添加时间(订单完成时间,需要和bobocoin_withdrawal_record表中的打款完成时间字段名一致,因为要以时间排序
  28. TaskName string `orm:"task_name" json:"taskName"` // 任务名称(冗余)
  29. }
  30. // BobocoinWithdrawalRecord is the golang structure for table bobocoin_withdrawal_record.
  31. type BobocoinWithdrawalRecord struct {
  32. RecordId int64 `orm:"record_id,primary" json:"recordId"` // 提现单号
  33. TalentId int `orm:"talent_id" json:"talentId"` // 发起提现的达人id
  34. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  35. DrawAmount int64 `orm:"draw_amount" json:"drawAmount"` // 提现金额
  36. PayState int `orm:"pay_state" json:"payState"` // 支付状态 1未支付 2支付成功 3支付失败
  37. PayFailReason string `orm:"pay_fail_reason" json:"payFailReason"` // 支付失败原因
  38. CompleteDate *gtime.Time `orm:"complete_date" json:"completeDate"` // 打款时间
  39. PayPlatform int `orm:"pay_platform" json:"payPlatform"` // 支付平台,如支付宝
  40. PayAccount string `orm:"pay_account" json:"payAccount"` // 支付账户
  41. AccountName string `orm:"account_name" json:"accountName"` // 账户姓名
  42. }
  43. // Brand is the golang structure for table brand.
  44. type Brand struct {
  45. BrandId int `orm:"brand_id,primary" json:"brandId"` // 品牌信息id
  46. BrandName string `orm:"brand_name" json:"brandName"` // 品牌名称
  47. BrandLogo string `orm:"brand_logo" json:"brandLogo"` // 品牌logo链接地址
  48. BrandInfo string `orm:"brand_info" json:"brandInfo"` // 品牌信息简介
  49. BrandPerson string `orm:"brand_person" json:"brandPerson"` // 品牌对接人
  50. BrandContact string `orm:"brand_contact" json:"brandContact"` // 品牌对接人联系方式
  51. BrandTitle string `orm:"brand_title" json:"brandTitle"` // 品牌对接人职称
  52. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  53. CreatPeople string `orm:"creat_people" json:"creatPeople"` // 创建人
  54. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  55. UpdatePeople string `orm:"update_people" json:"updatePeople"` // 更新人
  56. }
  57. // InfoProductClassify is the golang structure for table info_product_classify.
  58. type InfoProductClassify struct {
  59. ClassifyId int `orm:"classify_id,primary" json:"classifyId"` // 分类id
  60. Classify string `orm:"classify" json:"classify"` // 分类名
  61. }
  62. // InfoRegion is the golang structure for table info_region.
  63. type InfoRegion struct {
  64. RegionId uint `orm:"region_id,primary" json:"regionId"` //
  65. SelfCode uint `orm:"self_code" json:"selfCode"` //
  66. RegionLevel int `orm:"region_level" json:"regionLevel"` //
  67. ParentCode uint `orm:"parent_code" json:"parentCode"` //
  68. RegionName string `orm:"region_name" json:"regionName"` //
  69. }
  70. // InfoTalentAgeBracket is the golang structure for table info_talent_age_bracket.
  71. type InfoTalentAgeBracket struct {
  72. AgeAid int `orm:"age_aid,primary" json:"ageAid"` //
  73. AgeBracketDiscribe string `orm:"age_bracket_discribe" json:"ageBracketDiscribe"` //
  74. }
  75. // InfoTalentSkilledArea is the golang structure for table info_talent_skilled_area.
  76. type InfoTalentSkilledArea struct {
  77. SkilledId int `orm:"skilled_id,primary" json:"skilledId"` //
  78. SkilledAreas string `orm:"skilled_areas" json:"skilledAreas"` // 擅长领域
  79. }
  80. // InfoTalentSkinType is the golang structure for table info_talent_skin_type.
  81. type InfoTalentSkinType struct {
  82. SkinId int `orm:"skin_id,primary" json:"skinId"` //
  83. SkinTypeDescribe string `orm:"skin_type_describe" json:"skinTypeDescribe"` //
  84. }
  85. // InfoThirdPlatform is the golang structure for table info_third_platform.
  86. type InfoThirdPlatform struct {
  87. PlatformId uint `orm:"platform_id,primary" json:"platformId"` // 平台id,主键
  88. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名
  89. PlatformIcon string `orm:"platform_icon" json:"platformIcon"` // 平台图标url
  90. PlatformTableName string `orm:"platform_table_name" json:"platformTableName"` // 平台数据表表名
  91. }
  92. // OrderAnswer is the golang structure for table order_answer.
  93. type OrderAnswer struct {
  94. TraId int64 `orm:"tra_id,primary" json:"traId"` //
  95. OrderId int64 `orm:"order_id" json:"orderId"` // 报名信息(order_info)id
  96. AdditionalQuestionId int `orm:"additional_question_id" json:"additionalQuestionId"` // task_require_additional_tallent_info表中的id,即问题
  97. QuestionAnswer string `orm:"question_answer" json:"questionAnswer"` // 问题答案,单选或多选为选项的id,问题为输入框时则为文本,为图片上传时则为上传后的图片url
  98. }
  99. // OrderArticleReview is the golang structure for table order_article_review.
  100. type OrderArticleReview struct {
  101. OrderArticleId int `orm:"order_article_id,primary" json:"orderArticleId"` // 作品审核id
  102. OrderId int64 `orm:"order_id,unique" json:"orderId"` // 订单id(order_info)id
  103. ArticleLink string `orm:"article_link" json:"articleLink"` // 作品链接列表
  104. AuditStatus int `orm:"audit_status" json:"auditStatus"` // 审核状态 1待审核 2审核通过 3审核驳回
  105. AuditOpinion string `orm:"audit_opinion" json:"auditOpinion"` // 作品审核意见
  106. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间(发货时间)
  107. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirmTime"` // 确认收获时间
  108. }
  109. // OrderDataReview is the golang structure for table order_data_review.
  110. type OrderDataReview struct {
  111. DataQualityId int `orm:"data_quality_id,primary" json:"dataQualityId"` // 数据质检id
  112. OrderId int64 `orm:"order_id,unique" json:"orderId"` // 报名信息(order_info)id
  113. LikeNumber int `orm:"like_number" json:"likeNumber"` // 点赞数
  114. LittleEye int `orm:"little_eye" json:"littleEye"` // 小眼睛
  115. CommitNum int `orm:"commit_num" json:"commitNum"` // 评论数
  116. CollectNum int `orm:"collect_num" json:"collectNum"` // 收藏数
  117. DataLink string `orm:"data_link" json:"dataLink"` // 数据截图列表
  118. AuditStatus int `orm:"audit_status" json:"auditStatus"` // 审核状态 1待审核 2审核通过 3审核失败
  119. AuditOpinion string `orm:"audit_opinion" json:"auditOpinion"` // 数据质检审核意见
  120. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间(发货时间)
  121. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirmTime"` // 确认收获时间
  122. }
  123. // OrderDeliveryInfo is the golang structure for table order_delivery_info.
  124. type OrderDeliveryInfo struct {
  125. OrderDeliveryId int `orm:"order_delivery_id,primary" json:"orderDeliveryId"` // 执行补充信息
  126. OrderId int64 `orm:"order_id,unique" json:"orderId"` // 订单id
  127. OrderAddressee string `orm:"order_addressee" json:"orderAddressee"` // 收货人
  128. OrderPhone string `orm:"order_phone" json:"orderPhone"` // 订单所填手机号
  129. RegionCode int `orm:"region_code" json:"regionCode"` // 区域码
  130. OrderAddress string `orm:"order_address" json:"orderAddress"` // 订单地址
  131. LogisticsCompany string `orm:"logistics_company" json:"logisticsCompany"` // 物流公司
  132. TrackingNum string `orm:"tracking_num" json:"trackingNum"` // 物流单号
  133. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  134. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirmTime"` // 确认收获时间
  135. DeliveryTime *gtime.Time `orm:"delivery_time" json:"deliveryTime"` // 发货时间
  136. DeliveryStatus int `orm:"delivery_status" json:"deliveryStatus"` // 发货状态 1是未发货,2是已发货 3已收货
  137. }
  138. // OrderDraftReview is the golang structure for table order_draft_review.
  139. type OrderDraftReview struct {
  140. OrderDraftId int `orm:"order_draft_id,primary" json:"orderDraftId"` // 初稿审核id
  141. OrderId int `orm:"order_id,unique" json:"orderId"` // 订单id
  142. OnlineLink string `orm:"online_link" json:"onlineLink"` // 在线链接
  143. AuditStatus int `orm:"audit_status" json:"auditStatus"` // 审核状态 1待审核 2审核通过 3审核驳回
  144. AuditOpinion string `orm:"audit_opinion" json:"auditOpinion"` // 审核意见
  145. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  146. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirmTime"` // 初稿通过时间
  147. }
  148. // OrderInfo is the golang structure for table order_info.
  149. type OrderInfo struct {
  150. OrderId uint64 `orm:"order_id,primary" json:"orderId"` //
  151. TaskId int `orm:"task_id" json:"taskId"` // 任务id
  152. TaskName string `orm:"task_name" json:"taskName"` // 任务名称(冗余)
  153. TaskBrandName string `orm:"task_brand_name" json:"taskBrandName"` // 品牌名称(冗余)
  154. ProductName string `orm:"product_name" json:"productName"` // 商品名称(冗余)
  155. ProductMainImg string `orm:"product_main_img" json:"productMainImg"` // 商品主图url(冗余)
  156. TalentId int `orm:"talent_id" json:"talentId"` // 达人id
  157. TalentPlatformInfoSnap string `orm:"talent_platform_info_snap" json:"talentPlatformInfoSnap"` // 达人平台信息快照
  158. TalentPersonalInfoSnap string `orm:"talent_personal_info_snap" json:"talentPersonalInfoSnap"` // 达人个人信息快照
  159. TalentPostAddrSnap string `orm:"talent_post_addr_snap" json:"talentPostAddrSnap"` // 收货地址快照
  160. TaskLevelId int `orm:"task_level_id" json:"taskLevelId"` // 报名选择的招募等级id(task_recruit_talent_level表中的id)
  161. SettleAmount int64 `orm:"settle_amount" json:"settleAmount"` // 待结算金额
  162. ProdSpecificationId int `orm:"prod_specification_id" json:"prodSpecificationId"` // 商品规格列表的索引
  163. ProdNote string `orm:"prod_note" json:"prodNote"` // 商品备注
  164. OrderStatus int `orm:"order_status" json:"orderStatus"` // 订单状态
  165. CreateDate *gtime.Time `orm:"create_date" json:"createDate"` // 创建时间
  166. SelectDate *gtime.Time `orm:"select_date" json:"selectDate"` // 反选时间
  167. PartnerWay string `orm:"partner_way" json:"partnerWay"` // 合作方式
  168. CompleteStatus int `orm:"complete_status" json:"completeStatus"` // 结束方式 1未结束 2正常结束 3反选失败 4达人取消
  169. CompleteDate *gtime.Time `orm:"complete_date" json:"completeDate"` // 结束时间
  170. }
  171. // OrderLinkQuality is the golang structure for table order_link_quality.
  172. type OrderLinkQuality struct {
  173. LinkQualityId int `orm:"link_quality_id,primary" json:"linkQualityId"` // 链接质检id
  174. OrderId int64 `orm:"order_id,unique" json:"orderId"` // 报名信息(order_info)id
  175. PostLink string `orm:"post_link" json:"postLink"` // 发布链接
  176. PhotoLink string `orm:"photo_link" json:"photoLink"` // 图片链接
  177. AuditStatus int `orm:"audit_status" json:"auditStatus"` // 审核状态 1待审核 2审核成功 3审核失败
  178. AuditOpinion string `orm:"audit_opinion" json:"auditOpinion"` // 审核意见
  179. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间(发货时间)
  180. ConfirmTime *gtime.Time `orm:"confirm_time" json:"confirmTime"` // 确认收获时间
  181. }
  182. // OrderStatusRecord is the golang structure for table order_status_record.
  183. type OrderStatusRecord struct {
  184. OrderStatusId int `orm:"order_status_id,primary" json:"orderStatusId"` // 订单状态记录表id
  185. OrderId int `orm:"order_id" json:"orderId"` // 对应订单的id
  186. AlterBefore int `orm:"alter_before" json:"alterBefore"` // 修改订单前状态
  187. AlterAfter int `orm:"alter_after" json:"alterAfter"` // 修改订单后状态
  188. RoleTag int `orm:"role_tag" json:"roleTag"` // 身份标记 1后台管理员 2达人
  189. RecordId int `orm:"record_id" json:"recordId"` // 操作员工账号
  190. RecordName string `orm:"record_name" json:"recordName"` // 操作员工姓名
  191. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  192. }
  193. // PlatformBilibiliAccountInfo is the golang structure for table platform_bilibili_account_info.
  194. type PlatformBilibiliAccountInfo struct {
  195. BilibiliId int `orm:"bilibili_id,primary" json:"bilibiliId"` //
  196. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表id值)
  197. PlatformId int `orm:"platform_id" json:"platformId"` // 平台id,与third_platform_info中的id相同
  198. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  199. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  200. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  201. PlatformNickname string `orm:"platform_nickname" json:"platformNickname"` // 在平台上的昵称
  202. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 主页链接
  203. FansCount int64 `orm:"fans_count" json:"fansCount"` // 粉丝数
  204. GotLikeCount int64 `orm:"got_like_count" json:"gotLikeCount"` // 点赞数
  205. SkilledAt string `orm:"skilled_at" json:"skilledAt"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  206. IsAppearInVideo int `orm:"is_appear_in_video" json:"isAppearInVideo"` // 是否出镜
  207. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl"` // 主页截图链接
  208. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  209. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  210. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examineFailAdminId"` // 审核失败操作管理员id(user表中的id)
  211. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核日期
  212. ExamineFailReason string `orm:"examine_fail_reason" json:"examineFailReason"` // 审核失败原因
  213. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  214. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examineSucAdminId"` // 审核成功操作管理员id(user表中的id)
  215. }
  216. // PlatformDianpingAccountInfo is the golang structure for table platform_dianping_account_info.
  217. type PlatformDianpingAccountInfo struct {
  218. DianpingId int `orm:"dianping_id,primary" json:"dianpingId"` //
  219. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表id值)
  220. PlatformId int `orm:"platform_id" json:"platformId"` // 平台id,与third_platform_info中的id相同
  221. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  222. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  223. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  224. PlatformNickname string `orm:"platform_nickname" json:"platformNickname"` // 在平台上的昵称
  225. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 主页链接
  226. FansCount int64 `orm:"fans_count" json:"fansCount"` // 粉丝数
  227. GotLikeCount int64 `orm:"got_like_count" json:"gotLikeCount"` // 点赞数
  228. MembershipLevel int `orm:"membership_level" json:"membershipLevel"` // 会员等级
  229. IsAppearInVideo int `orm:"is_appear_in_video" json:"isAppearInVideo"` // 是否出镜
  230. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl"` // 主页截图图片url
  231. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  232. ExamineStatus int `orm:"examine_status" json:"examineStatus"` // 审核状态 1待审核 2审核通过 3审核失败
  233. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  234. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examineFailAdminId"` // 审核失败操作管理员id(user表中的id)
  235. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核日期
  236. ExamineFailReason string `orm:"examine_fail_reason" json:"examineFailReason"` // 审核失败原因
  237. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  238. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examineSucAdminId"` // 审核成功操作管理员id(user表中的id)
  239. }
  240. // PlatformKuaishouAccountInfo is the golang structure for table platform_kuaishou_account_info.
  241. type PlatformKuaishouAccountInfo struct {
  242. KuaishouId int `orm:"kuaishou_id,primary" json:"kuaishouId"` //
  243. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表id值)
  244. PlatformId int `orm:"platform_id" json:"platformId"` // 平台id,与third_platform_info中的id相同
  245. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  246. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  247. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  248. PlatformNickname string `orm:"platform_nickname" json:"platformNickname"` // 在平台上的昵称
  249. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 主页链接
  250. FansCount int64 `orm:"fans_count" json:"fansCount"` // 粉丝数
  251. CompositionCount int64 `orm:"composition_count" json:"compositionCount"` // 作品数量
  252. SkilledAt string `orm:"skilled_at" json:"skilledAt"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  253. IsSupportLive int `orm:"is_support_live" json:"isSupportLive"` // 是否支持直播
  254. IsOpenCart int `orm:"is_open_cart" json:"isOpenCart"` // 是否开通购物车
  255. IsAppearInVideo int `orm:"is_appear_in_video" json:"isAppearInVideo"` // 是否出镜
  256. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl"` // 主页截图图片url
  257. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  258. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  259. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examineFailAdminId"` // 审核失败操作管理员id(user表中的id)
  260. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核日期
  261. ExamineFailReason string `orm:"examine_fail_reason" json:"examineFailReason"` // 审核失败原因
  262. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  263. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examineSucAdminId"` // 审核成功操作管理员id(user表中的id)
  264. }
  265. // PlatformLittleRedBookAccountInfo is the golang structure for table platform_little_red_book_account_info.
  266. type PlatformLittleRedBookAccountInfo struct {
  267. RedBookId int `orm:"red_book_id,primary" json:"redBookId"` //
  268. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表id值)
  269. PlatformId int `orm:"platform_id" json:"platformId"` // 平台id,与third_platform_info中的id相同
  270. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  271. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  272. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  273. PlatformNickname string `orm:"platform_nickname" json:"platformNickname"` // 在平台上的昵称
  274. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 主页链接
  275. FansCount int64 `orm:"fans_count" json:"fansCount"` // 粉丝数
  276. GotLikeCount int64 `orm:"got_like_count" json:"gotLikeCount"` // (点)赞(收)藏数
  277. NoteCount int64 `orm:"note_count" json:"noteCount"` // 笔记总量
  278. IsSupportReporting int `orm:"is_support_reporting" json:"isSupportReporting"` // 是否支持报备
  279. IsSupportLive int `orm:"is_support_live" json:"isSupportLive"` // 是否支持直播
  280. CanMakeVideo int `orm:"can_make_video" json:"canMakeVideo"` // 是否可以制作视频
  281. IsAppearInVideo int `orm:"is_appear_in_video" json:"isAppearInVideo"` // 是否出镜
  282. SkilledAt string `orm:"skilled_at" json:"skilledAt"` // 擅长领域(info_tallent_skilled_area表中的id的数组) {0,不限。1,母婴。2,美妆护肤。3,时尚穿搭。4,旅游。5,美食。6,数码科技。7,健康养生。8,情感。9,宠物。10,运动健身。11,家居生活。12,搞笑。13,音乐 }
  283. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl"` // 主页截图链接
  284. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  285. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  286. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examineFailAdminId"` // 审核失败操作管理员id(user表中的id)
  287. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核日期
  288. ExamineFailReason string `orm:"examine_fail_reason" json:"examineFailReason"` // 审核失败原因
  289. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  290. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examineSucAdminId"` // 审核成功操作管理员id(user表中的id)
  291. }
  292. // PlatformTiktokAccountInfo is the golang structure for table platform_tiktok_account_info.
  293. type PlatformTiktokAccountInfo struct {
  294. TiktokId int `orm:"tiktok_id,primary" json:"tiktokId"` //
  295. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表id值)
  296. PlatformId int `orm:"platform_id" json:"platformId"` // 平台id,与third_platform_info中的id相同
  297. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  298. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  299. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  300. PlatformNickname string `orm:"platform_nickname" json:"platformNickname"` // 在平台上的昵称
  301. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 主页链接
  302. FansCount int64 `orm:"fans_count" json:"fansCount"` // 粉丝数
  303. GotLikeCount int64 `orm:"got_like_count" json:"gotLikeCount"` // 点赞数
  304. CompositionCount int64 `orm:"composition_count" json:"compositionCount"` // 作品数量
  305. TiktokUid string `orm:"tiktok_uid" json:"tiktokUid"` // 抖音uid
  306. IsSupportReporting int `orm:"is_support_reporting" json:"isSupportReporting"` // 是否支持报备
  307. IsSupportLive int `orm:"is_support_live" json:"isSupportLive"` // 是否支持直播
  308. IsOpenShowcase int `orm:"is_open_showcase" json:"isOpenShowcase"` // 是否开通商品橱窗
  309. IsAppearInVideo int `orm:"is_appear_in_video" json:"isAppearInVideo"` // 是否出镜
  310. SkilledAt string `orm:"skilled_at" json:"skilledAt"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  311. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl"` // 主页截图图片链接
  312. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  313. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  314. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examineFailAdminId"` // 审核失败操作管理员id(user表中的id)
  315. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核日期
  316. ExamineFailReason string `orm:"examine_fail_reason" json:"examineFailReason"` // 审核失败原因
  317. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  318. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examineSucAdminId"` // 审核成功操作管理员id(user表中的id)
  319. }
  320. // PlatformWeiboAccountInfo is the golang structure for table platform_weibo_account_info.
  321. type PlatformWeiboAccountInfo struct {
  322. WeiboId int `orm:"weibo_id,primary" json:"weiboId"` //
  323. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表id值)
  324. PlatformId int `orm:"platform_id" json:"platformId"` // 平台id,与third_platform_info中的id相同
  325. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  326. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  327. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  328. PlatformNickname string `orm:"platform_nickname" json:"platformNickname"` // 在平台上的昵称
  329. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 主页链接
  330. FansCount int64 `orm:"fans_count" json:"fansCount"` // 粉丝数
  331. WeiboTotalNum int64 `orm:"weibo_total_num" json:"weiboTotalNum"` // 微博总量
  332. IsSupportReporting int `orm:"is_support_reporting" json:"isSupportReporting"` // 是否支持报备
  333. IsSupportLive int `orm:"is_support_live" json:"isSupportLive"` // 是否支持直播
  334. CanMakeVideo int `orm:"can_make_video" json:"canMakeVideo"` // 是否可以制作视频
  335. IsAppearInVideo int `orm:"is_appear_in_video" json:"isAppearInVideo"` // 是否出镜
  336. SkilledAt string `orm:"skilled_at" json:"skilledAt"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  337. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl"` // 主页截图链接
  338. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  339. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  340. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examineFailAdminId"` // 审核失败操作管理员id(user表中的id)
  341. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核日期
  342. ExamineFailReason string `orm:"examine_fail_reason" json:"examineFailReason"` // 审核失败原因
  343. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  344. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examineSucAdminId"` // 审核成功操作管理员id(user表中的id)
  345. }
  346. // PlatformZhihuAccountInfo is the golang structure for table platform_zhihu_account_info.
  347. type PlatformZhihuAccountInfo struct {
  348. ZhihuId int `orm:"zhihu_id,primary" json:"zhihuId"` //
  349. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表的id值)
  350. PlatformId int `orm:"platform_id" json:"platformId"` // 平台id,与third_platform_info中的id相同
  351. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  352. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  353. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  354. PlatformNickname string `orm:"platform_nickname" json:"platformNickname"` // 在平台上的昵称
  355. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 主页链接
  356. FansCount int64 `orm:"fans_count" json:"fansCount"` // 粉丝数
  357. GotAgreeCount int64 `orm:"got_agree_count" json:"gotAgreeCount"` // 被赞同总数
  358. GotLikeCount int64 `orm:"got_like_count" json:"gotLikeCount"` // 被喜欢总数
  359. GotCollectCount int64 `orm:"got_collect_count" json:"gotCollectCount"` // 被收藏总数
  360. AnswerCount int64 `orm:"answer_count" json:"answerCount"` // 回答总数
  361. CreativeLevel int `orm:"creative_level" json:"creativeLevel"` // 创作等级
  362. TotalReadPlayCount int64 `orm:"total_read_play_count" json:"totalReadPlayCount"` // 总阅读播放量
  363. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl"` // 主页截图
  364. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  365. SubmitDate *gtime.Time `orm:"submit_date" json:"submitDate"` // 提交时间
  366. ExamineFailAdminId int `orm:"examine_fail_admin_id" json:"examineFailAdminId"` // 审核失败操作管理员id(user表中的id)
  367. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核日期
  368. ExamineFailReason string `orm:"examine_fail_reason" json:"examineFailReason"` // 审核失败原因
  369. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  370. ExamineSucAdminId int `orm:"examine_suc_admin_id" json:"examineSucAdminId"` // 审核成功操作管理员id(user表中的id)
  371. }
  372. // Product is the golang structure for table product.
  373. type Product struct {
  374. ProductId int `orm:"product_id,primary" json:"productId"` //
  375. ProductName string `orm:"product_name" json:"productName"` // 商品名称
  376. ProductType int `orm:"product_type" json:"productType"` // 商品类型 1:实物 ,2:商品,3:线下
  377. ProductClassify int `orm:"product_classify" json:"productClassify"` // 商品分类id(info_product_classifyh表id)
  378. ProductPrice int64 `orm:"product_price" json:"productPrice"` // 商品价格
  379. ProductSpecification string `orm:"product_specification" json:"productSpecification"` // 商品规格
  380. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  381. CreatPeople string `orm:"creat_people" json:"creatPeople"` // 创建人
  382. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  383. UpdatePeople string `orm:"update_people" json:"updatePeople"` // 更新人
  384. }
  385. // ProductPhoto is the golang structure for table product_photo.
  386. type ProductPhoto struct {
  387. ProductPhotoId int `orm:"product_photo_id,primary" json:"productPhotoId"` // 商品链接图主键id
  388. ProductId int `orm:"product_id" json:"productId"` // 商品表id
  389. Symbol int `orm:"symbol" json:"symbol"` // 图片是主图还是详情图标志位 1主图 2轮播图 3,详情图
  390. PhotoUrl string `orm:"photo_url" json:"photoUrl"` // 商品图片链接
  391. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  392. CreatPeople string `orm:"creat_people" json:"creatPeople"` // 创建人
  393. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  394. UpdatePeople string `orm:"update_people" json:"updatePeople"` // 更新人
  395. }
  396. // ROrderCompeleteStageToType is the golang structure for table r_order_compelete_stage_to_type.
  397. type ROrderCompeleteStageToType struct {
  398. RId uint `orm:"r_id,primary" json:"rId"` //
  399. OrderProcedureStage int `orm:"order_procedure_stage" json:"orderProcedureStage"` // 任务流程的阶段(对应workflow_node_container表中的procedure_stage字段)
  400. OrderProcedureStep int `orm:"order_procedure_step" json:"orderProcedureStep"` // 任务流程的步骤(对应workflow_node_container表中的step_in_stage字段)
  401. CompleteType int `orm:"complete_type" json:"completeType"` // 任务步骤如果存在结束任务的可能,则这里是对应的结束任务的方式
  402. }
  403. // RTalentPlatformTable is the golang structure for table r_talent_platform_table.
  404. type RTalentPlatformTable struct {
  405. RtId uint `orm:"rt_id,primary" json:"rtId"` // 审核表的主键ID
  406. Tid int `orm:"tid" json:"tid"` // 达人id(talent_info表中的id)
  407. PId int `orm:"p_id" json:"pId"` // 平台id(info_third_platform表中的id)
  408. PName string `orm:"p_name" json:"pName"` // 平台名称
  409. PNickname string `orm:"p_nickname" json:"pNickname"` // 账号所在平台昵称
  410. PAccountId string `orm:"p_account_id" json:"pAccountId"` // 平台对应的ID(达人在所在平台的ID)
  411. FansCount int64 `orm:"fans_count" json:"fansCount"` // 达人在平台的粉丝数量
  412. HomePageUrl string `orm:"home_page_url" json:"homePageUrl"` // 达人的主页链接
  413. ExamineState int `orm:"examine_state" json:"examineState"` // 审核状态 1待审核 2审核通过 3审核驳回
  414. FailReason string `orm:"fail_reason" json:"failReason"` // 审核驳回原因
  415. ExamineAdminId int `orm:"examine_admin_id" json:"examineAdminId"` // 审核操作管理员id
  416. CreateDate *gtime.Time `orm:"create_date" json:"createDate"` // 创建时间
  417. ExamineDate *gtime.Time `orm:"examine_date" json:"examineDate"` // 审核时间
  418. DisableDate *gtime.Time `orm:"disable_date" json:"disableDate"` // 下架时间
  419. Deleted int `orm:"deleted" json:"deleted"` // 是否逻辑删除 0否 1是
  420. }
  421. // TalentDeliveryAddress is the golang structure for table talent_delivery_address.
  422. type TalentDeliveryAddress struct {
  423. AddressId int64 `orm:"address_id,primary" json:"addressId"` //
  424. RegionCode int `orm:"region_code" json:"regionCode"` // 区域码,取info_region表中的self_code字段值
  425. DetailAddr string `orm:"detail_addr" json:"detailAddr"` // 详细地址
  426. PhoneNumber string `orm:"phone_number" json:"phoneNumber"` // 联系电话
  427. ReceiverName string `orm:"receiver_name" json:"receiverName"` // 收货人名字
  428. DefaultTag int `orm:"default_tag" json:"defaultTag"` // 是否默认收货地址
  429. TalentId int `orm:"talent_id" json:"talentId"` // 达人id(talent_info表中的id)
  430. }
  431. // TalentInfo is the golang structure for table talent_info.
  432. type TalentInfo struct {
  433. Id int `orm:"id,primary" json:"id"` //
  434. TalentWxOpenid string `orm:"talent_wx_openid" json:"talentWxOpenid"` // 达人的微信openid
  435. TalentWxNickname string `orm:"talent_wx_nickname" json:"talentWxNickname"` // 达人的微信昵称
  436. TalentWxNumber string `orm:"talent_wx_number" json:"talentWxNumber"` // 达人微信号
  437. TalentGender int `orm:"talent_gender" json:"talentGender"` // 性别,0未知 1男 2女
  438. TalentPhoneNumber string `orm:"talent_phone_number" json:"talentPhoneNumber"` // 电话号码
  439. TalentAgeBracket int `orm:"talent_age_bracket" json:"talentAgeBracket"` // 年龄段,取tallent_age_bracket表id
  440. TalentSkinType int `orm:"talent_skin_type" json:"talentSkinType"` // 肤质,取tallent_skin_type表的id
  441. TalentNationality int `orm:"talent_nationality" json:"talentNationality"` // 国籍,取tallent_nationality表id
  442. VisitStoreRegion int `orm:"visit_store_region" json:"visitStoreRegion"` // 探店区域,取region_info表中的self_code
  443. ApprovalStatus int `orm:"approval_status" json:"approvalStatus"` // 审核状态 0提交未审核 1审核通过 2审核失败
  444. ApprovalDate *gtime.Time `orm:"approval_date" json:"approvalDate"` // 审核时间
  445. Enabled int `orm:"enabled" json:"enabled"` // 是否上架(激活)
  446. EnabledDate *gtime.Time `orm:"enabled_date" json:"enabledDate"` // 上架(激活)时间
  447. InBlacklist uint `orm:"in_blacklist" json:"inBlacklist"` // 是否加入黑名单 0否 1是
  448. CreateDate *gtime.Time `orm:"create_date" json:"createDate"` // 创建时间
  449. LastLoginDate *gtime.Time `orm:"last_login_date" json:"lastLoginDate"` // 最后登录时间
  450. AliName string `orm:"ali_name" json:"aliName"` // 支付宝姓名
  451. AliAccount string `orm:"ali_account" json:"aliAccount"` // 支付宝账号
  452. }
  453. // TaskBaseInfo is the golang structure for table task_base_info.
  454. type TaskBaseInfo struct {
  455. TaskId int `orm:"task_id,primary" json:"taskId"` // 任务基础信息id
  456. TaskName string `orm:"task_name" json:"taskName"` // 任务名称
  457. TaskPlatform int `orm:"task_platform" json:"taskPlatform"` // 任务平台id,取third_platform_info表id
  458. TaskMode int `orm:"task_mode" json:"taskMode"` // 任务模式 1置换任务 2稿费任务 3折扣任务
  459. BusinessType int `orm:"business_type" json:"businessType"` // 业务类型 1实物 2虚拟 3线下
  460. ContentForm uint `orm:"content_form" json:"contentForm"` // 内容形式 低4位为图片和视频类型,0001原创图片 0010指定图片 0100原创视频 1000指定视频 5~6位为文案类型 010000为原创文案 100000为指定文案 第7位为是否直播01000000为直播00000000为非直播
  461. OtherForm int `orm:"other_form" json:"otherForm"` // 其他形式 1不限 2仅单品 3仅合辑
  462. StartTime *gtime.Time `orm:"start_time" json:"startTime"` // 作品发布时间
  463. EndTime *gtime.Time `orm:"end_time" json:"endTime"` // 作品结束时间
  464. DeadlineTime *gtime.Time `orm:"deadline_time" json:"deadlineTime"` // 任务报名截至日期
  465. TaskStatus int `orm:"task_status" json:"taskStatus"` // 任务状态:1待支付(待上线) 2执行中 3已结案
  466. TaskCreateFlag uint `orm:"task_create_flag" json:"taskCreateFlag"` // 创建任务时提交状态
  467. BrandId int `orm:"brand_id" json:"brandId"` // 品牌id
  468. ProductId int `orm:"product_id" json:"productId"` // 任务商品id
  469. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  470. OnlineTime *gtime.Time `orm:"online_time" json:"onlineTime"` // 上线时间
  471. BrandName string `orm:"brand_name" json:"brandName"` // 品牌名称
  472. }
  473. // TaskPerformHelpInfo is the golang structure for table task_perform_help_info.
  474. type TaskPerformHelpInfo struct {
  475. TphId int `orm:"tph_id,primary" json:"tphId"` //
  476. TaskBaseId int `orm:"task_base_id,unique" json:"taskBaseId"` // 关联的任务基本信息id
  477. BrandKeyword string `orm:"brand_keyword" json:"brandKeyword"` // 品牌关键词
  478. ProductMerits string `orm:"product_merits" json:"productMerits"` // 产品亮点
  479. AppendTopic string `orm:"append_topic" json:"appendTopic"` // 添加话题
  480. CaptureRequirement string `orm:"capture_requirement" json:"captureRequirement"` // 拍摄要求
  481. RemainDays int `orm:"remain_days" json:"remainDays"` // 保留时长(天)
  482. OtherPerformRequire string `orm:"other_perform_require" json:"otherPerformRequire"` // 其他执行要求
  483. CaptureReference string `orm:"capture_reference" json:"captureReference"` // 拍摄参考
  484. CustomServiceQrcode string `orm:"custom_service_qrcode" json:"customServiceQrcode"` // 客服二维码url
  485. BriefList string `orm:"brief_list" json:"briefList"` // brief图片urls
  486. }
  487. // TaskProcedureArticleInfo is the golang structure for table task_procedure_article_info.
  488. type TaskProcedureArticleInfo struct {
  489. TpaId int `orm:"tpa_id,primary" json:"tpaId"` //
  490. TaskBaseId int `orm:"task_base_id" json:"taskBaseId"` // 任务id(对应task_base_info表id字段)
  491. UploadLimitDay int `orm:"upload_limit_day" json:"uploadLimitDay"` // 上传作品天数限制
  492. UploadReduceRate int `orm:"upload_reduce_rate" json:"uploadReduceRate"` // 上传作品超时扣费比率(*100)
  493. ReviseLimitDay int `orm:"revise_limit_day" json:"reviseLimitDay"` // 作品修改天数限制
  494. ReviseReduceRate int `orm:"revise_reduce_rate" json:"reviseReduceRate"` // 作品修改超时扣费比率(*100)
  495. }
  496. // TaskProcedureBuySamplesInfo is the golang structure for table task_procedure_buy_samples_info.
  497. type TaskProcedureBuySamplesInfo struct {
  498. TpbId int `orm:"tpb_id,primary" json:"tpbId"` //
  499. TaskBaseId int `orm:"task_base_id,unique" json:"taskBaseId"` // 任务id(对应task_base_info表id字段)
  500. PlatformName string `orm:"platform_name" json:"platformName"` // 平台对应的名称
  501. BuySamplesCost int64 `orm:"buy_samples_cost" json:"buySamplesCost"` // 拍单费用
  502. BuySamplesRefund int64 `orm:"buy_samples_refund" json:"buySamplesRefund"` // 拍单退费
  503. BuySamplesUrl string `orm:"buy_samples_url" json:"buySamplesUrl"` // 拍单链接
  504. SyncLogistics int `orm:"sync_logistics" json:"syncLogistics"` // 是否同步物流信息 0不同步 1同步
  505. }
  506. // TaskProcedureDecisionCondition is the golang structure for table task_procedure_decision_condition.
  507. type TaskProcedureDecisionCondition struct {
  508. TpdId int `orm:"tpd_id,primary" json:"tpdId"` //
  509. TaskBaseId int `orm:"task_base_id" json:"taskBaseId"` // 任务id(对应task_base_info表id字段)
  510. BuySamplesType int `orm:"buy_samples_type" json:"buySamplesType"` // 拍单方式 1样叽拍单 2,不拍单
  511. BuySamplesStage int `orm:"buy_samples_stage" json:"buySamplesStage"` // 拍单对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  512. ExamineDraft int `orm:"examine_draft" json:"examineDraft"` // 是否需要审核初稿 0不审核 1审核
  513. ExamineDraftStage int `orm:"examine_draft_stage" json:"examineDraftStage"` // 审核初稿对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  514. ReviewArticle int `orm:"review_article" json:"reviewArticle"` // 是否需要审核作品 0不审核 1审核
  515. ReviewArticleStage int `orm:"review_article_stage" json:"reviewArticleStage"` // 审核作品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  516. IsTestQulity int `orm:"is_test_qulity" json:"isTestQulity"` // 是否质检目前不可选,值固定为1
  517. QuilityTestStage int `orm:"quility_test_stage" json:"quilityTestStage"` // 质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  518. IsTestData int `orm:"is_test_data" json:"isTestData"` // 是否进行数据检测,目前不可选,值固定为1
  519. DataTestStage int `orm:"data_test_stage" json:"dataTestStage"` // 数据质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  520. ReturnSamples int `orm:"return_samples" json:"returnSamples"` // 是否返还样品 0不返还 1返还
  521. ReturnSamplesStage int `orm:"return_samples_stage" json:"returnSamplesStage"` // 返还样品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  522. IsAddTaskFinish int `orm:"is_add_task_finish" json:"isAddTaskFinish"` // 是否添加任务完成步骤,目前固定为1
  523. TaskFisnishStage int `orm:"task_fisnish_stage" json:"taskFisnishStage"` // 任务完成对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
  524. BuySamplesCost int64 `orm:"buy_samples_cost" json:"buySamplesCost"` // 拍单费用
  525. SyncLogistics int `orm:"sync_logistics" json:"syncLogistics"` // 是否同步物流信息 1不同步 2同步
  526. BuySamplesRefund int64 `orm:"buy_samples_refund" json:"buySamplesRefund"` // 拍单退费
  527. }
  528. // TaskProcedureDraftInfo is the golang structure for table task_procedure_draft_info.
  529. type TaskProcedureDraftInfo struct {
  530. TaskPdId int `orm:"task_pd_id,primary" json:"taskPdId"` //
  531. TaskBaseId int `orm:"task_base_id" json:"taskBaseId"` // 任务id(对应task_base_info表id字段)
  532. UploadLimitDay int `orm:"upload_limit_day" json:"uploadLimitDay"` // 上传初稿天数限制
  533. UploadReduceRate int `orm:"upload_reduce_rate" json:"uploadReduceRate"` // 上传初稿超时扣费比率(*100)
  534. ReviseLimitDay int `orm:"revise_limit_day" json:"reviseLimitDay"` // 修改初稿期限天数限制
  535. ReviseReduceRate int `orm:"revise_reduce_rate" json:"reviseReduceRate"` // 初稿超时扣费比率(*100)
  536. }
  537. // TaskProcedureQualityDataTestInfo is the golang structure for table task_procedure_quality_data_test_info.
  538. type TaskProcedureQualityDataTestInfo struct {
  539. TpqId int `orm:"tpq_id,primary" json:"tpqId"` //
  540. TaskBaseId int `orm:"task_base_id" json:"taskBaseId"` // 任务id(对应task_base_info表id字段)
  541. QualityTestUrl string `orm:"quality_test_url" json:"qualityTestUrl"` // 质检链接
  542. QualityTestLimitDay int `orm:"quality_test_limit_day" json:"qualityTestLimitDay"` // 上传质检连接天数限制
  543. QualityTestReduceRate int `orm:"quality_test_reduce_rate" json:"qualityTestReduceRate"` // 上传质检连接超时扣费比率(*100)
  544. QualityReviseLimitDay int `orm:"quality_revise_limit_day" json:"qualityReviseLimitDay"` // 修改质检连接天数限制
  545. QualityReviseReduseRate int `orm:"quality_revise_reduse_rate" json:"qualityReviseReduseRate"` // 修改质检连接超时扣费比率(*100)
  546. DataTestUrl string `orm:"data_test_url" json:"dataTestUrl"` // 数据检测连接
  547. DataTestLimitDay int `orm:"data_test_limit_day" json:"dataTestLimitDay"` // 上传数据检测连接天数限制
  548. DataTestReduceRate int `orm:"data_test_reduce_rate" json:"dataTestReduceRate"` // 上传数据检测连接超时扣费比率(*100)
  549. DataReviceLimitDay int `orm:"data_revice_limit_day" json:"dataReviceLimitDay"` // 修改数据检测链接天数限制
  550. DataReviceReduceRate int `orm:"data_revice_reduce_rate" json:"dataReviceReduceRate"` // 修改数据检测链接超时扣费比率(*100)
  551. }
  552. // TaskRecruitRequirements is the golang structure for table task_recruit_requirements.
  553. type TaskRecruitRequirements struct {
  554. TrrId int `orm:"trr_id,primary" json:"trrId"` //
  555. TaskBaseId int `orm:"task_base_id,unique" json:"taskBaseId"` // 关联的task_base_info中的id
  556. TalentSkillsOn string `orm:"talent_skills_on" json:"talentSkillsOn"` // 达人擅长领域要求,info_tallent_skilled_area表中的id列表,以逗号分隔 ['不限', '母婴', '美妆护肤', '时尚穿搭', '旅游', '美食', '数码科技', '健康养生', '情感', '宠物', '运动健身', '家居生活', '搞笑', '音乐'],
  557. InteractType string `orm:"interact_type" json:"interactType"` // 指定互动形式的内容
  558. RegionCode int `orm:"region_code" json:"regionCode"` // 地域码,info_region表中的self_code值
  559. Gender int `orm:"gender" json:"gender"` // 限制可接任务的性别,0女 1男 2不限制
  560. OtherRequirement string `orm:"other_requirement" json:"otherRequirement"` // 其他要求
  561. }
  562. // TaskRecruitTalentLevel is the golang structure for table task_recruit_talent_level.
  563. type TaskRecruitTalentLevel struct {
  564. TrtId int `orm:"trt_id,primary" json:"trtId"` //
  565. TaskBaseId int `orm:"task_base_id" json:"taskBaseId"` // 关联的task_base_info的id
  566. FansCountMin int `orm:"fans_count_min" json:"fansCountMin"` // 最小粉丝数
  567. FansCountMax int `orm:"fans_count_max" json:"fansCountMax"` // 最大粉丝数
  568. NeedTalentCount int `orm:"need_talent_count" json:"needTalentCount"` // 任务需要的达人数量
  569. RewardRoyalties int64 `orm:"reward_royalties" json:"rewardRoyalties"` // 稿费金额
  570. }
  571. // TaskReward is the golang structure for table task_reward.
  572. type TaskReward struct {
  573. RewardId int `orm:"reward_id,primary" json:"rewardId"` //
  574. IsRewardGoods int `orm:"is_reward_goods" json:"isRewardGoods"` // 是否奖励实物
  575. RewardGoodsInfo string `orm:"reward_goods_info" json:"rewardGoodsInfo"` // 实物奖励信息
  576. IsPaymentArticle int `orm:"is_payment_article" json:"isPaymentArticle"` // 是否获得稿费
  577. PaymentValue string `orm:"payment_value" json:"paymentValue"` // 稿费金额描述
  578. OtherRewardInfo string `orm:"other_reward_info" json:"otherRewardInfo"` // 其他奖励信息
  579. TaskBaseId int `orm:"task_base_id,unique" json:"taskBaseId"` // 关联的task_base_info的id
  580. }
  581. // User is the golang structure for table user.
  582. type User struct {
  583. Id int `orm:"id,primary" json:"id"` // 用户表id
  584. User string `orm:"user" json:"user"` // 用户名id
  585. Username string `orm:"username" json:"username"` // 后台用户名
  586. Password string `orm:"password" json:"password"` // 用户密码
  587. RealName string `orm:"real_name" json:"realName"` // 真实姓名
  588. Role string `orm:"role" json:"role"` // 角色 1,超级管理员; 2,管理员;3,员工
  589. Phone string `orm:"phone" json:"phone"` // 绑定手机
  590. Email string `orm:"email" json:"email"` // 电子邮件
  591. LastLoginTime *gtime.Time `orm:"last_login_time" json:"lastLoginTime"` // 最后一次登录时间
  592. UserState string `orm:"user_state" json:"userState"` // 0,禁用,1,正常
  593. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  594. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
  595. }
  596. // WorkflowNodeContainer is the golang structure for table workflow_node_container.
  597. type WorkflowNodeContainer struct {
  598. ContainerId uint64 `orm:"container_id,primary" json:"containerId"` //
  599. NodeNameFirst string `orm:"node_name_first" json:"nodeNameFirst"` // 首次执行时的节点名,前端显示
  600. NodeNameAfterSecond string `orm:"node_name_after_second" json:"nodeNameAfterSecond"` // 第二次之后执行时的节点名
  601. ProcedureStage int `orm:"procedure_stage" json:"procedureStage"` // 订单处理流程阶段,如:拍单阶段、初稿阶段
  602. StepInStage uint `orm:"step_in_stage" json:"stepInStage"` // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
  603. CurExecutionTimes int `orm:"cur_execution_times" json:"curExecutionTimes"` // 当前执行次数
  604. MaxExecutionTimes int `orm:"max_execution_times" json:"maxExecutionTimes"` // 最大执行次数
  605. Tip string `orm:"tip" json:"tip"` // 此步骤在达人端的提示
  606. SucNextStep uint `orm:"suc_next_step" json:"sucNextStep"` // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
  607. FailNextStep uint `orm:"fail_next_step" json:"failNextStep"` // 失败的后续步骤,数值同上
  608. State int `orm:"state" json:"state"` // 状态 1未开启 2进行中 3失败 4完成
  609. FailReason string `orm:"fail_reason" json:"failReason"` // 失败原因
  610. StartDate *gtime.Time `orm:"start_date" json:"startDate"` // 开始日期
  611. CompleteDate *gtime.Time `orm:"complete_date" json:"completeDate"` // 完成日期
  612. CompleteUserName string `orm:"complete_user_name" json:"completeUserName"` // 完成人名
  613. LimitDays1 int `orm:"limit_days_1" json:"limitDays1"` // 限制天数
  614. ReduceFeeRatio1 int `orm:"reduce_fee_ratio_1" json:"reduceFeeRatio1"` // 超期扣费比率
  615. LimitDays2 int `orm:"limit_days_2" json:"limitDays2"` // 第二次执行限制天数(修改操作限时)
  616. ReduceFeeRatio2 int `orm:"reduce_fee_ratio_2" json:"reduceFeeRatio2"` // 第二次执行超期扣费率
  617. OperateRoleRestrict int `orm:"operate_role_restrict" json:"operateRoleRestrict"` // 操作角色限制 1后端 2达人
  618. SortId int `orm:"sort_id" json:"sortId"` // 在一个任务流程中的排序值
  619. OrderId int `orm:"order_id" json:"orderId"` // 关联的订单和任务id
  620. }
  621. // WorkflowNodeTemplate is the golang structure for table workflow_node_template.
  622. type WorkflowNodeTemplate struct {
  623. TemplateId uint `orm:"template_id,primary" json:"templateId"` //
  624. NodeNameFirst string `orm:"node_name_first" json:"nodeNameFirst"` // 首次执行时的节点名,前端显示
  625. NodeNameAfterSecond string `orm:"node_name_after_second" json:"nodeNameAfterSecond"` // 第二次之后执行时的节点名
  626. ProcedureStage int `orm:"procedure_stage" json:"procedureStage"` // 订单处理流程阶段,如:拍单阶段、初稿阶段
  627. StepInStage uint `orm:"step_in_stage" json:"stepInStage"` // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
  628. CurExecutionTimes int `orm:"cur_execution_times" json:"curExecutionTimes"` // 当前执行次数
  629. MaxExecutionTimes int `orm:"max_execution_times" json:"maxExecutionTimes"` // 最大执行次数
  630. Tip string `orm:"tip" json:"tip"` // 此步骤在达人端的提示
  631. SucNextStep uint `orm:"suc_next_step" json:"sucNextStep"` // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
  632. FailNextStep uint `orm:"fail_next_step" json:"failNextStep"` // 失败的后续步骤,数值同上
  633. State int `orm:"state" json:"state"` // 状态 1未开启 2进行中 3成功 4失败
  634. FailReason string `orm:"fail_reason" json:"failReason"` // 失败原因
  635. StartDate *gtime.Time `orm:"start_date" json:"startDate"` // 开启日期
  636. CompleteDate *gtime.Time `orm:"complete_date" json:"completeDate"` // 完成日期
  637. CompleteUserName string `orm:"complete_user_name" json:"completeUserName"` // 完成人名
  638. LimitDays1 int `orm:"limit_days_1" json:"limitDays1"` // 此状态限制天数 0不限制
  639. ReduceFeeRatio1 int `orm:"reduce_fee_ratio_1" json:"reduceFeeRatio1"` // 超期扣费比率
  640. LimitDays2 int `orm:"limit_days_2" json:"limitDays2"` // 第二次执行限制天数(修改操作限时)
  641. ReduceFeeRatio2 int `orm:"reduce_fee_ratio_2" json:"reduceFeeRatio2"` // 第二次执行超期扣费率
  642. OperateRoleRestrict int `orm:"operate_role_restrict" json:"operateRoleRestrict"` // 操作角色限制 1后端 2达人
  643. SortId int `orm:"sort_id" json:"sortId"` //
  644. }
  645. // WxPayOrder is the golang structure for table wx_pay_order.
  646. type WxPayOrder struct {
  647. OrderId uint64 `orm:"order_id,primary" json:"orderId"` //
  648. OutTradeNo string `orm:"out_trade_no,unique" json:"outTradeNo"` // 本平台的订单号
  649. WxOrderNo string `orm:"wx_order_no" json:"wxOrderNo"` // 微信产生的订单号
  650. PayAmount int64 `orm:"pay_amount" json:"payAmount"` // 支付金额
  651. TaskName string `orm:"task_name" json:"taskName"` // 任务名称
  652. PayReason int `orm:"pay_reason" json:"payReason"` // 支付用途 1拍单
  653. TalentId int `orm:"talent_id" json:"talentId"` // 达人id
  654. TalentWxNickname string `orm:"talent_wx_nickname" json:"talentWxNickname"` // 达人微信昵称
  655. TalentPlatformAccountName string `orm:"talent_platform_account_name" json:"talentPlatformAccountName"` // 达人平台账号昵称
  656. TaskId int `orm:"task_id" json:"taskId"` // 任务id
  657. TaskPlatform int `orm:"task_platform" json:"taskPlatform"` // 任务的社媒平台id
  658. Success int `orm:"success" json:"success"` // 是否成功
  659. CreateAt *gtime.Time `orm:"create_at" json:"createAt"` // 订单生成时间
  660. Desc string `orm:"desc" json:"desc"` // 描述
  661. }