Kavita/API/DTOs/Statistics/UserReadStatistics.cs
2025-05-04 07:14:44 -07:00

27 lines
742 B
C#

using System;
using System.Collections.Generic;
namespace API.DTOs.Statistics;
#nullable enable
public sealed record UserReadStatistics
{
/// <summary>
/// Total number of pages read
/// </summary>
public long TotalPagesRead { get; set; }
/// <summary>
/// Total number of words read
/// </summary>
public long TotalWordsRead { get; set; }
/// <summary>
/// Total time spent reading based on estimates
/// </summary>
public long TimeSpentReading { get; set; }
public long ChaptersRead { get; set; }
public DateTime LastActive { get; set; }
public double AvgHoursPerWeekSpentReading { get; set; }
public IEnumerable<StatCount<float>>? PercentReadPerLibrary { get; set; }
}