面包店
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.

user_foot_mark.go 768 B

9 maanden geleden
12345678910111213141516
  1. package model
  2. import (
  3. "time"
  4. )
  5. type UserFootMark 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:"default '' comment('商品ID') VARCHAR(100)"`
  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:"default 'CURRENT_TIMESTAMP' TIMESTAMP"`
  13. UpdateAt time.Time `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' TIMESTAMP"`
  14. }