Kavita/API/DTOs/Reader/HourEstimateRangeDto.cs
2025-05-04 07:14:44 -07:00

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;
}