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.

590 B
Raw Blame
using System.Collections.Generic;

namespace API.DTOs.Reader;

public class BookChapterItem
{
    /// <summary>
    /// Name of the Chapter
    /// </summary>
    public string Title { get; set; } = default!;
    /// <summary>
    /// A part represents the id of the anchor so we can scroll to it. 01_values.xhtml#h_sVZPaxUSy/
    /// </summary>
    public string Part { get; set; } = default!;
    /// <summary>
    /// Page Number to load for the chapter
    /// </summary>
    public int Page { get; set; }
    public ICollection<BookChapterItem> Children { get; set; } = default!;
}