generated from VLADIMIR/template
23 lines
495 B
Go
23 lines
495 B
Go
// Package game_model contains game service models and mappers.
|
|
package game_model
|
|
|
|
import (
|
|
"evening_detective_server/internal/services/scenarios_service"
|
|
"time"
|
|
)
|
|
|
|
// Game describes a game exposed by the service layer.
|
|
type Game struct {
|
|
Format string
|
|
ID int
|
|
Name string
|
|
Description string
|
|
Location *string
|
|
StartAt time.Time
|
|
Status string
|
|
Scenario *scenarios_service.Scenario
|
|
Teams []*Team
|
|
StartedAt *time.Time
|
|
EndedAt *time.Time
|
|
}
|