KoogleApp/src/Koogle.Application/Games/GameTeam.cs

18 lines
409 B
C#

namespace Koogle.Application.Games;
/// <summary>
/// Represents a team in a game with assigned players.
/// </summary>
public record GameTeam
{
/// <summary>
/// Team name (editable by user).
/// </summary>
public string Name { get; init; } = "";
/// <summary>
/// Player IDs assigned to this team.
/// </summary>
public IReadOnlyList<Guid> PlayerIds { get; init; } = [];
}