Kavita/Kavita.Models/DTOs/Statistics/UserReadStatistics.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

28 lines
690 B
C#

using System;
using System.Collections.Generic;
namespace Kavita.Models.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; }
}