From 22e41708757686c0e1c2101fb722372659f2d589 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 13 Nov 2024 20:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/red_packet_subsidy_chance.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/models/red_packet_subsidy_chance.go diff --git a/src/models/red_packet_subsidy_chance.go b/src/models/red_packet_subsidy_chance.go new file mode 100644 index 0000000..702601c --- /dev/null +++ b/src/models/red_packet_subsidy_chance.go @@ -0,0 +1,15 @@ +package models + +import ( + "time" +) + +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)"` + 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)"` + Num int `json:"num" xorm:"default 0 INT(11)"` + IsPop int `json:"is_pop" xorm:"default 0 comment('是否弹窗') INT(1)"` +}