mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 12:05:51 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
21 lines
470 B
C#
21 lines
470 B
C#
namespace Kavita.Models.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; }
|
|
}
|
|
|
|
|