12345678910111213141516171819202122232425262728293031 |
- package model
- type WebForwarding struct {
- Id int `gorm:"primary"`
- HostId int `gorm:"not null"`
- RuleId int `gorm:"not null"`
- Tag string `gorm:"null"`
- Port string `gorm:"not null"`
- Domain string `gorm:"null"`
- CustomHost string `gorm:"null"`
- WafGatewayGroupId int `gorm:"not null"`
- WebLimitRuleId int `gorm:"not null"`
- CcCount int `gorm:"null"`
- CcDuration string `gorm:"null"`
- CcBlockCount int `gorm:"null"`
- CcBlockDuration string `gorm:"null"`
- Cc4xxCount int `gorm:"null"`
- Cc4xxDuration string `gorm:"null"`
- Cc4xxBlockCount int `gorm:"null"`
- Cc4xxBlockDuration string `gorm:"null"`
- Cc5xxCount int `gorm:"null"`
- Cc5xxDuration string `gorm:"null"`
- Cc5xxBlockCount int `gorm:"null"`
- Cc5xxBlockDuration string `gorm:"null"`
- IsHttps int `gorm:"null"`
- Comment string `gorm:"null"`
- }
- func (m *WebForwarding) TableName() string {
- return "shd_waf_web"
- }
|