Kavita/API/DTOs/Progress/ReadingActivityDataDto.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

30 lines
857 B
C#

using System;
namespace API.DTOs.Progress;
#nullable enable
public sealed record ReadingActivityDataDto
{
public int ChapterId { get; set; }
public int VolumeId { get; set; }
public int SeriesId { get; set; }
public int LibraryId { get; set; }
public int StartPage { get; set; }
public int EndPage { get; set; }
public DateTime StartTimeUtc { get; set; }
public DateTime? EndTimeUtc { get; set; }
public int PagesRead { get; set; }
/// <summary>
/// Only applicable for Book entries
/// </summary>
public int WordsRead { get; set; }
public int TotalPages { get; set; }
public int TotalWords { get; set; }
public string LibraryName { get; set; }
public string SeriesName { get; set; }
public string ChapterTitle { get; set; }
public ClientInfoDto? ClientInfo { get; set; }
}