gameshield.go 406 B

123456789101112131415161718192021
  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 int
  12. Checked int
  13. DunName string
  14. ExpireTime int64 `gorm:"type:bigint"`
  15. }
  16. func (m *GameShield) TableName() string {
  17. return "shd_game_shield"
  18. }