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

24 lines
502 B
C#

using System.Collections.Generic;
namespace API.DTOs.Statistics;
public sealed record MostReadAuthorsDto
{
public int AuthorId { get; init; }
public string AuthorName { get; init; }
public int TotalChaptersRead { get; init; }
public IList<AuthorChapterDto> Chapters { get; init; }
}
public sealed record AuthorChapterDto
{
public int LibraryId { get; set; }
public int SeriesId { get; set; }
public int ChapterId { get; set; }
public string Title { get; set; }
}