mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-11 12:35:48 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
21 lines
627 B
C#
21 lines
627 B
C#
using System;
|
|
|
|
namespace Kavita.Models.DTOs.Statistics;
|
|
#nullable enable
|
|
|
|
/// <summary>
|
|
/// Represents a single User's reading event
|
|
/// </summary>
|
|
public sealed record ReadHistoryEvent
|
|
{
|
|
public int UserId { get; set; }
|
|
public required string? UserName { get; set; } = default!;
|
|
public int LibraryId { get; set; }
|
|
public int SeriesId { get; set; }
|
|
public required string SeriesName { get; set; } = default!;
|
|
public DateTime ReadDate { get; set; }
|
|
public DateTime ReadDateUtc { get; set; }
|
|
public int ChapterId { get; set; }
|
|
public required float ChapterNumber { get; set; } = default!;
|
|
}
|