mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -04:00
27 lines
859 B
C#
27 lines
859 B
C#
using API.DTOs.Reader;
|
|
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; }
|
|
}
|