智莺生活mysql模型库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
2.1 KiB

  1. package models
  2. type SuperCloudIssuanceGoods struct {
  3. Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
  4. GoodsUrl string `json:"goods_url" xorm:"not null comment('传进来的商品链接') VARCHAR(255)"`
  5. ItemUrl string `json:"item_url" xorm:"comment('搜索出来的商品链接') VARCHAR(255)"`
  6. GoodsId string `json:"goods_id" xorm:"not null comment('商品id') VARCHAR(255)"`
  7. Provider string `json:"provider" xorm:"comment('渠道key') VARCHAR(255)"`
  8. ProviderName string `json:"provider_name" xorm:"comment('渠道') VARCHAR(255)"`
  9. ProviderImgUrl string `json:"provider_img_url" xorm:"comment('渠道图片Url') VARCHAR(255)"`
  10. GoodsTitle string `json:"goods_title" xorm:"comment('商品标题') VARCHAR(255)"`
  11. GoodsPrice string `json:"goods_price" xorm:"comment('商品原价') VARCHAR(255)"`
  12. WlGoodsPrice string `json:"wl_goods_price" xorm:"comment('商品卷后价') VARCHAR(255)"`
  13. CouponPrice string `json:"coupon_price" xorm:"comment('优惠劵金额') VARCHAR(255)"`
  14. CouponUrl string `json:"coupon_url" xorm:"comment('优惠劵Url') VARCHAR(255)"`
  15. InOrderCount string `json:"in_order_count" xorm:"comment('销量') VARCHAR(255)"`
  16. GoodsDesc string `json:"goods_desc" xorm:"comment('商品描述') VARCHAR(255)"`
  17. GoodsContent string `json:"goods_content" xorm:"comment('商品文案(以json存)') LONGTEXT"`
  18. GoodsImg string `json:"goods_img" xorm:"comment('商品主图') VARCHAR(255)"`
  19. GoodsImgUrl string `json:"goods_img_url" xorm:"comment('商品主图URL') VARCHAR(255)"`
  20. CreateAt string `json:"create_at" xorm:"not null DATETIME"`
  21. UpdateAt string `json:"update_at" xorm:"not null DATETIME"`
  22. CloudIssuanceCategoryId int `json:"cloud_issuance_category_id" xorm:"not null default 0 comment('云发单所属分类id') INT(11)"`
  23. GoodsImgList string `json:"goods_img_list" xorm:"VARCHAR(5000)"`
  24. }