Entities/Stats/Playtime.cs

Simple data entity representing playtime statistics. It has two TimeSpan properties, TotalSpan and TvSpan, storing total played time and time viewed on TV.

#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; }
}