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.
14 lines
407 B
14 lines
407 B
package lottery
|
|
|
|
type AutoLottery struct {
|
|
ID uint `gorm:"column:id;primary_key" json:"id"`
|
|
UpgradePro uint `gorm:"column:upgrade_pro" json:"upgradePro"`
|
|
KeepPro uint `gorm:"column:keep_pro" json:"keepPro"`
|
|
Start uint `gorm:"column:start" json:"start"`
|
|
}
|
|
|
|
// TableName sets the insert table name for this struct type
|
|
func (*AutoLottery) TableName() string {
|
|
return "gys_auto_lottery"
|
|
}
|