Kavita/API/DTOs/Statistics/StatBucketDto.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

21 lines
460 B
C#

namespace API.DTOs.Statistics;
/// <summary>
/// A bucket of items (fixed) from 0-X, X-X*2
/// </summary>
public sealed record StatBucketDto
{
public int RangeStart { get; set; }
/// <summary>
/// Null for the last range (1000+)
/// </summary>
public int? RangeEnd { get; set; }
public int Count { get; set; }
/// <summary>
/// Percentage of total chapters
/// </summary>
public decimal Percentage { get; set; }
}