gameshield.go 366 B

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