Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
0ea8ee2923
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      src/models/red_packet_subsidy_chance.go

+ 4
- 3
src/models/red_packet_subsidy_chance.go View File

@@ -6,11 +6,12 @@ import (

type RedPacketSubsidyChance struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Date int `json:"date" xorm:"default 0 unique(date) INT(11)"`
Date int `json:"date" xorm:"default 0 INT(11)"`
CreateTime time.Time `json:"create_time" xorm:"DATETIME"`
Uid int `json:"uid" xorm:"default 0 unique(date) INT(11)"`
StoreId int `json:"store_id" xorm:"default 0 unique(date) INT(11)"`
Uid int `json:"uid" xorm:"default 0 INT(11)"`
StoreId int `json:"store_id" xorm:"default 0 INT(11)"`
Num int `json:"num" xorm:"default 0 INT(11)"`
IsPop int `json:"is_pop" xorm:"default 0 comment('是否弹窗') INT(1)"`
Money string `json:"money" xorm:"default 0.00 DECIMAL(20,2)"`
Oid int64 `json:"oid" xorm:"default 0 BIGINT(20)"`
}

Loading…
Cancel
Save