mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-01 20:54:12 -04:00
21 lines
549 B
C#
21 lines
549 B
C#
namespace API.DTOs.Reader;
|
|
|
|
/// <summary>
|
|
/// A range of time to read a selection (series, chapter, etc)
|
|
/// </summary>
|
|
public sealed record HourEstimateRangeDto
|
|
{
|
|
/// <summary>
|
|
/// Min hours to read the selection
|
|
/// </summary>
|
|
public int MinHours { get; init; } = 1;
|
|
/// <summary>
|
|
/// Max hours to read the selection
|
|
/// </summary>
|
|
public int MaxHours { get; init; } = 1;
|
|
/// <summary>
|
|
/// Estimated average hours to read the selection
|
|
/// </summary>
|
|
public float AvgHours { get; init; } = 1f;
|
|
}
|