craban/server/model/game_member.go

13 lines
215 B
Go
Raw Normal View History

2021-09-11 19:50:34 +01:00
package model
const (
RoleGameMaster = "role_game_master"
RolePlayer = "role_player"
)
type GameMember struct {
2021-09-13 14:21:37 +01:00
GameID int `json:"game_id"`
UserID int `json:"user_id"`
Role string `json:"role"`
2021-09-11 19:50:34 +01:00
}