mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-12-21 20:37:22 -05:00
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
21 lines
460 B
C#
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; }
|
|
}
|
|
|
|
|