craban/server/model/game_member.go

14 lines
276 B
Go
Raw Permalink Normal View History

2021-09-11 19:50:34 +01:00
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"`
2021-09-11 19:50:34 +01:00
}