Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
22e4170875
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      src/models/red_packet_subsidy_chance.go

+ 15
- 0
src/models/red_packet_subsidy_chance.go View File

@@ -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)"`
}

Loading…
Cancel
Save