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>
26 lines
998 B
C#
26 lines
998 B
C#
using System.Collections.Generic;
|
|
using Kavita.Models.Entities.Enums;
|
|
|
|
namespace Kavita.Models.DTOs.Reader;
|
|
#nullable enable
|
|
|
|
public class BookmarkInfoDto
|
|
{
|
|
public string SeriesName { get; set; } = default!;
|
|
public MangaFormat SeriesFormat { get; set; }
|
|
public int SeriesId { get; set; }
|
|
public int LibraryId { get; set; }
|
|
public LibraryType LibraryType { get; set; }
|
|
public int Pages { get; set; }
|
|
/// <summary>
|
|
/// List of all files with their inner archive structure maintained in filename and dimensions
|
|
/// </summary>
|
|
/// <remarks>This is optionally returned by includeDimensions</remarks>
|
|
public IEnumerable<FileDimensionDto>? PageDimensions { get; set; }
|
|
/// <summary>
|
|
/// For Double Page reader, this will contain snap points to ensure the reader always resumes on correct page
|
|
/// </summary>
|
|
/// <remarks>This is optionally returned by includeDimensions</remarks>
|
|
public IDictionary<int, int>? DoublePairs { get; set; }
|
|
}
|