Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

697 B
Raw Blame
using System;
using System.ComponentModel.DataAnnotations;

namespace API.DTOs;
#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; }
}