Kavita/API/DTOs/ReadingLists/ReadingListInfoDto.cs
Joe Milazzo 9f29fa593d
Progress Overhaul + Profile Page and a LOT more! (#4262)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2025-12-09 10:00:11 -07:00

26 lines
836 B
C#

using API.Entities.Interfaces;
namespace API.DTOs.ReadingLists;
public sealed record ReadingListInfoDto : IHasReadTimeEstimate
{
/// <summary>
/// Total Pages across all Reading List Items
/// </summary>
public int Pages { get; set; }
/// <summary>
/// Total Word count across all Reading List Items
/// </summary>
public long WordCount { get; set; }
/// <summary>
/// Are ALL Reading List Items epub
/// </summary>
public bool IsAllEpub { get; set; }
/// <inheritdoc cref="IHasReadTimeEstimate.MinHoursToRead"/>
public int MinHoursToRead { get; set; }
/// <inheritdoc cref="IHasReadTimeEstimate.MaxHoursToRead"/>
public int MaxHoursToRead { get; set; }
/// <inheritdoc cref="IHasReadTimeEstimate.AvgHoursToRead"/>
public float AvgHoursToRead { get; set; }
}