gameshield.go 412 B

12345678910111213141516171819202122
  1. package model
  2. import "time"
  3. type GameShield struct {
  4. Id int `gorm:"primarykey"`
  5. AppName string
  6. GatewayGroupId int
  7. Backend string
  8. RuleId int
  9. Key string
  10. AddTime time.Time
  11. Uid int
  12. HostId string
  13. AppIp string
  14. Checked int
  15. DunName string
  16. }
  17. func (m *GameShield) TableName() string {
  18. return "shd_game_shield"
  19. }