package model import "time" type GateWayGroupIp struct { Id int `gorm:"primary" json:"id" form:"id"` GatewayGroupId int `gorm:"not null" json:"gatewayGroupId" form:"gatewayGroupId"` Ip string `gorm:"not null" json:"ip" form:"ip"` Tag string `gorm:"null" json:"tag" form:"tag"` Comment string `gorm:"null" json:"comment" form:"comment"` OriginPlace string `gorm:"null" json:"originPlace" form:"originPlace"` CreatedAt time.Time `json:"createdAt" form:"createdAt"` UpdatedAt time.Time `json:"updatedAt" form:"updatedAt"` } func (m *GateWayGroupIp) TableName() string { return "shd_waf_gateway_group_ip" }