craban/server/model/game_member.go
2021-09-13 23:39:16 +02:00

13 lines
276 B
Go

package model
const (
RoleGameMaster = "role_game_master"
RolePlayer = "role_player"
)
type GameMember struct {
GameID int `json:"game_id"`
UserID int `json:"user_id"`
Role string `json:"role"`
LastViewedAt int `json:"lastviewedat"`
}