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