13 lines
246 B
Go
13 lines
246 B
Go
package system
|
|
|
|
type BattleServer struct {
|
|
Idx int `json:"idx"`
|
|
Name string `json:"name"`
|
|
Host string `json:"host"`
|
|
IsEnable int `json:"is_enable"`
|
|
}
|
|
|
|
func (s BattleServer) TableName() string {
|
|
return "t_battle_servers"
|
|
}
|