package model import "time" type GatewayGroup struct { Id int `gorm:"primary"` HostId int `gorm:"null"` RuleId int `gorm:"not null"` Name string `gorm:"null"` Operator int `gorm:"not null"` Comment string `gorm:"null"` CreatedAt time.Time UpdatedAt time.Time } func (m *GatewayGroup) TableName() string { return "shd_waf_gateway_group" }