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

13 line
858 B

  1. package model
  2. type VirtualCoinRelate struct {
  3. Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
  4. Oid int64 `json:"oid" xorm:"not null default 0 comment('订单号') index unique(IDX_ORD) BIGINT(20)"`
  5. Uid int `json:"uid" xorm:"not null default 0 comment('用户ID') unique(IDX_ORD) index INT(10)"`
  6. CoinId int `json:"coin_id" xorm:"comment('虚拟币id') INT(11)"`
  7. Amount string `json:"amount" xorm:"not null default 0.000000 comment('数量') DECIMAL(16,6)"`
  8. Pvd string `json:"pvd" xorm:"not null default '' comment('供应商taobao,jd,pdd,vip,suning,kaola,mall_goods,group_buy') index VARCHAR(255)"`
  9. CreateAt int `json:"create_at" xorm:"not null default 0 comment('订单创建时间') index INT(10)"`
  10. Level int `json:"level" xorm:"not null default 0 comment('0自购 1直推 大于1:间推') INT(10)"`
  11. }