Entities/Stats/Playtime.cs

A simple data model representing playtime stats for a user. It stores total time played and time seen on TV as two TimeSpan properties.

#nullable enable annotations

namespace LichessNET.Entities.Stats;

public class Playtime
{

    /// <summary>
    ///     The total time played by the user
    /// </summary>
    public TimeSpan TotalSpan { get; set; }

    /// <summary>
    ///     The total time seen on TV
    /// </summary>
    public TimeSpan TvSpan { get; set; }
}