gatewaygroupip.go 443 B

123456789101112131415161718
  1. package model
  2. import "time"
  3. type GateWayGroupIp struct {
  4. Id int `gorm:"primary"`
  5. GatewayGroupId int `gorm:"not null"`
  6. Ip string `gorm:"not null"`
  7. Tag string `gorm:"null"`
  8. Comment string `gorm:"null"`
  9. OriginPlace string `gorm:"null"`
  10. CreatedAt time.Time
  11. UpdatedAt time.Time
  12. }
  13. func (m *GateWayGroupIp) TableName() string {
  14. return "shd_waf_gateway_group_ip"
  15. }