globallimit.go 411 B

12345678910111213141516171819202122
  1. package model
  2. import "time"
  3. type GlobalLimit struct {
  4. Id int `gorm:"primary"`
  5. HostId int
  6. Name string
  7. RuleId int
  8. GroupId int
  9. Uid int
  10. CdnUid int
  11. GatewayGroupId int
  12. Comment string
  13. ExpiredAt int64
  14. createdAt time.Time
  15. updatedAt time.Time
  16. }
  17. func (m *GlobalLimit) TableName() string {
  18. return "shd_waf"
  19. }