Kavita/API/DTOs/Statistics/UserReadStatistics.cs
Joe Milazzo e1f421ccc0
Stats Page Overhaul (#4292)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
2025-12-19 12:23:55 -08:00

28 lines
680 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
/// </summary>
public long TimeSpentReading { get; set; }
/// <summary>
/// Last time user read anything
/// </summary>
public DateTime? LastActiveUtc { get; set; }
public double AvgHoursPerWeekSpentReading { get; set; }
}