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>
24 lines
502 B
C#
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; }
|
|
}
|