mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-12-22 12:57:22 -05:00
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
26 lines
851 B
C#
26 lines
851 B
C#
using API.Services.Reading;
|
|
|
|
namespace API.Entities.Interfaces;
|
|
|
|
/// <summary>
|
|
/// Entity has read time estimate properties to estimate time to read
|
|
/// </summary>
|
|
public interface IHasReadTimeEstimate
|
|
{
|
|
/// <summary>
|
|
/// Min hours to read the chapter
|
|
/// </summary>
|
|
/// <remarks>Uses a fixed number to calculate from <see cref="ReaderService"/></remarks>
|
|
public int MinHoursToRead { get; set; }
|
|
/// <summary>
|
|
/// Max hours to read the chapter
|
|
/// </summary>
|
|
/// <remarks>Uses a fixed number to calculate from <see cref="ReaderService"/></remarks>
|
|
public int MaxHoursToRead { get; set; }
|
|
/// <summary>
|
|
/// Average hours to read the chapter
|
|
/// </summary>
|
|
/// <remarks>Uses a fixed number to calculate from <see cref="ReaderService"/></remarks>
|
|
public float AvgHoursToRead { get; set; }
|
|
}
|