mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 07:20:32 -04:00
27 lines
742 B
C#
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; }
|
|
|
|
}
|