namespace SlipItIn.Shared.Models; public enum GameStatus { Lobby, InProgress, Completed, Cancelled } public class Game { public int Id { get; set; } public string LobbyCode { get; set; } = string.Empty; // 4-6 stelliger Code public int HostId { get; set; } public GameStatus Status { get; set; } = GameStatus.Lobby; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime? StartedAt { get; set; } public DateTime? EndedAt { get; set; } public int MaxPlayers { get; set; } = 8; public int RoundDurationSeconds { get; set; } = 45; // Navigation public User Host { get; set; } = null!; public ICollection Players { get; set; } = []; public ICollection Rounds { get; set; } = []; }