Entities/Stats/Performance/Stat.cs

A simple data model class representing a player's performance stat, containing properties like PerfType, Highest, Lowest, best/worst streaks, counts and user id. It holds typed properties but contains no logic or methods.

#nullable enable annotations

namespace LichessNET.Entities.Account.Performance;

public class Stat
{
    public PerfType PerfType { get; set; }
    public Highest Lowest { get; set; }
    public Highest Highest { get; set; }
    public BestWins BestWins { get; set; }
    public WorstLosses WorstLosses { get; set; }
    public Count Count { get; set; }
    public ResultStreak ResultStreak { get; set; }
    public UserId UserId { get; set; }
    public PlayStreak PlayStreak { get; set; }
}