Code/Entities/Teams/TeamMember.cs

A plain data model representing a Lichess team member. It defines ID, Username, Title, Patron flag, and a joinedTeamAt timestamp field.

#nullable enable annotations

namespace LichessNET.Entities.Teams;

/// <summary>
/// Represents a member of a Lichess team.
/// </summary>
public class TeamMember
{
    public string ID { get; set; } = null!;
    public string Username { get; set; } = null!;
    public string Title { get; set; } = null!;
    public bool Patron { get; set; }
    public ulong joinedTeamAt { get; set; }
}