tmodel.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package talent_model
  2. type TaskSimpleInfo struct {
  3. Id int `orm:"id, primary" json:"id"`
  4. CoverImgUrls []string `orm:"cover_urls" json:"cover_img_urls"`
  5. TaskMode int8 `orm:"task_model" json:"task_mode"`
  6. TaskName string `orm:"task_name" json:"task_name"`
  7. TaskPlatform int8 `orm:"task_platform" json:"task_platform"`
  8. TaskContentForm int8 `orm:"content_form" json:"task_content_form"`
  9. ProductValue int64 `orm:"product_value" json:"product_value"`
  10. NeedTalentCnt int `orm:"need_talent_cnt" json:"need_talent_cnt"`
  11. SignedUpCount int `orm:"signed_up_count" json:"signed_up_count"`
  12. DeadlineTime string `orm:"deadline_time" json:"deadline_time"`
  13. BuySamplesType int8 `orm:"buy_samples_type" json:"buy_samples_type"`
  14. BuySamplesCost int64 `orm:"buy_samples_cost" json:"buy_samples_cost"`
  15. }
  16. type TaskDetailInfo struct {
  17. Id int `orm:"id" json:"id"`
  18. CoverUrls string `orm:"cover_urls" json:"cover_urls"`
  19. TaskMode int `orm:"task_mode" json:"task_mode"`
  20. TaskName string `orm:"task_name" json:"task_name"`
  21. TaskPlatform int `orm:"task_platform" json:"task_platform"`
  22. ContentForm int `orm:"content_form" json:"content_form"`
  23. OtherForm int `orm:"other_form" json:"other_form"`
  24. ProductPrice int64 `orm:"product_price" json:"product_price"`
  25. NeedTalentCnt int `orm:"need_talent_cnt" json:"need_talent_cnt"`
  26. SignedUpCount int `orm:"signed_up_count" json:"signed_up_count"`
  27. StartTime string `orm:"start_time" json:"start_time"`
  28. EndTime string `orm:"end_time" json:"end_time"`
  29. DeadlineTime string `orm:"deadline_time" json:"deadline_time"`
  30. BuySamplesType int8 `orm:"buy_samples_type" json:"buy_samples_type"`
  31. BuySamplesCost int64 `orm:"buy_samples_cost" json:"buy_samples_cost"`
  32. IsRewardGoods int8 `orm:"is_reward_goods" json:"is_reward_goods"`
  33. RewardGoodsInfo string `orm:"reward_goods_info" json:"reward_goods_info"`
  34. IsPaymentArticle int8 `orm:"is_payment_article" json:"is_payment_article"`
  35. PaymentValue string `orm:"payment_value" json:"payment_value"`
  36. OtherRewardInfo string `orm:"other_reward_info" json:"other_reward_info"`
  37. MinFansCount int `orm:"min_fans_count" json:"min_fans_count"`
  38. TalentSkillsOn string `orm:"talent_skills_on" json:"talent_skills_on"`
  39. InteractType string `orm:"interact_type" json:"interact_type"`
  40. RegionCode int `orm:"region_code" json:"region_code"`
  41. Gender int8 `orm:"gender" json:"gender"`
  42. OtherRequirement string `orm:"other_requirement" json:"other_requirement"`
  43. TaskWorkflow string `orm:"task_workflow" json:"task_workflow"`
  44. TaskHelp string `orm:"task_help" json:"task_help"`
  45. BrandName string `orm:"brand_name" json:"brand_name"`
  46. BrandLogo string `orm:"brand_logo" json:"brand_logo"`
  47. BrandInfo string `orm:"brand_info" json:"brand_info"`
  48. DetailImgUrls string `orm:"detail_img_urls" json:"detail_img_urls"`
  49. }