Kavita/Kavita.Models/DTOs/Statistics/MostReadAuthorsDto.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

24 lines
512 B
C#

using System.Collections.Generic;
namespace Kavita.Models.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; }
}