Kavita/API/DTOs/Progress/ProgressDto.cs
2024-03-23 14:20:16 -07:00

27 lines
706 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace API.DTOs.Progress;
#nullable enable
public class ProgressDto
{
[Required]
public int VolumeId { get; set; }
[Required]
public int ChapterId { get; set; }
[Required]
public int PageNum { get; set; }
[Required]
public int SeriesId { get; set; }
[Required]
public int LibraryId { get; set; }
/// <summary>
/// For EPUB reader, this can be an optional string of the id of a part marker, to help resume reading position
/// on pages that combine multiple "chapters".
/// </summary>
public string? BookScrollId { get; set; }
public DateTime LastModifiedUtc { get; set; }
}