12345678910111213141516171819202122232425 |
- package model
- type UdpForWarding struct {
- Id int `gorm:"primary"`
- HostId int `gorm:"not null"`
- RuleId int `gorm:"not null"`
- Tag string `gorm:"null"`
- Port string `gorm:"not null"`
- WafGatewayGroupId int `gorm:"not null"`
- UdpLimitRuleId int `gorm:"not null"`
- CcPacketCount int `gorm:"null"`
- CcPacketDuration string `gorm:"null"`
- CcPacketBlockCount int `gorm:"null"`
- CcPacketBlockDuration string `gorm:"null"`
- CcCount int `gorm:"null"`
- CcDuration string `gorm:"null"`
- CcBlockCount int `gorm:"null"`
- CcBlockDuration string `gorm:"null"`
- SessionTimeout string `gorm:"null"`
- Comment string `gorm:"null"`
- }
- func (m *UdpForWarding) TableName() string {
- return "shd_waf_udp"
- }
|