gameshield.go 389 B

123456789101112131415161718192021
  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. }
  16. func (m *GameShield) TableName() string {
  17. return "shd_game_shield"
  18. }