1234567891011121314151617181920212223 |
- package model
- import "time"
- type GameShieldBackend struct {
- Id int `gorm:"primary"`
- HostId int `gorm:"not null"`
- KeySort int
- SourceMachineIP string ``
- Protocol string `gorm:"not null"`
- ProxyAddr string `gorm:"null"`
- ConnectPort string `gorm:"not null"`
- SdkPort string
- SdkIp string `gorm:"null"`
- Type string
- MaxBandwidth int `gorm:"not null;type:tinyint"`
- CreatedAt time.Time
- UpdatedAt time.Time
- }
- func (m *GameShieldBackend) TableName() string {
- return "shd_game_shield_backend"
- }
|