gameshieldbackend.go 537 B

12345678910111213141516171819202122
  1. package model
  2. import "time"
  3. type GameShieldBackend struct {
  4. Id int `gorm:"primary"`
  5. HostId int `gorm:"not null"`
  6. Key int
  7. SourceMachineIP string ``
  8. Protocol string `gorm:"not null"`
  9. ProxyAddr string `gorm:"null"`
  10. ConnectPort string `gorm:"not null"`
  11. SdkPort string
  12. PublicIp string `gorm:"null"`
  13. Type string
  14. CreatedAt time.Time
  15. UpdatedAt time.Time
  16. }
  17. func (m *GameShieldBackend) TableName() string {
  18. return "shd_game_shield_backend"
  19. }