mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 20:15:26 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
21 lines
608 B
C#
21 lines
608 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Kavita.Models.DTOs.Reader;
|
|
|
|
public sealed record 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!;
|
|
}
|