#region ========================================================================= USING ===================================================================================== using System.Collections.Generic; using System.Diagnostics; #endregion namespace Nemera.Contracts.DTO.MediaLibrary.WrittenContentLibrary.BookLibrary.Reading; /// /// Data transfer object for the normalized document model of a book, produced by a reader plugin. /// /// The title of the book. /// The author of the book, if known. /// The resource key of the cover image of the book, if applicable. /// The hierarchical table of contents of the book. /// The ordered spine of the reading sections of the book. /// The resources of the book, keyed by their resource key. /// Whether the book has extractable text content. A scanned book, whose pages are only images, has no text content. [DebuggerDisplay("Title: {Title}")] public sealed record ReadingDocumentDto( string Title, string? Author, string? CoverResourceKey, IReadOnlyList TableOfContents, IReadOnlyList Spine, IReadOnlyDictionary Resources, bool HasTextContent );