package model import "time" type GateWayGroupIp struct { Id int `gorm:"primary"` GatewayGroupId int `gorm:"not null"` Ip string `gorm:"not null"` Tag string `gorm:"null"` Comment string `gorm:"null"` OriginPlace string `gorm:"null"` CreatedAt time.Time UpdatedAt time.Time } func (m *GateWayGroupIp) TableName() string { return "shd_waf_gateway_group_ip" }