一物一码
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

16 строки
697 B

  1. package model
  2. import (
  3. "time"
  4. )
  5. type UserFavorite struct {
  6. Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
  7. Uid int `json:"uid" xorm:"not null default 0 comment('用户ID') index INT(11)"`
  8. Provider string `json:"provider" xorm:"not null default '' comment('供应商') VARCHAR(8)"`
  9. ItemId string `json:"item_id" xorm:"not null default '' comment('商品ID') VARCHAR(30)"`
  10. ItemTitle string `json:"item_title" xorm:"not null default '' comment('商品标题') VARCHAR(255)"`
  11. ItemData string `json:"item_data" xorm:"not null comment('商品数据') TEXT"`
  12. CreateAt time.Time `json:"create_at" xorm:"created default CURRENT_TIMESTAMP TIMESTAMP"`
  13. }