#region ========================================================================= USING =====================================================================================
using System;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Nemera.Plugins.Calibre.Common.Models.DTO.Opf;
///
/// Data transfer object for the metadata read from a Calibre OPF file.
///
[DebuggerDisplay("Title: {Title}")]
internal sealed class OpfDocumentDto
{
///
/// Gets or sets the title of the book.
///
public string? Title { get; set; }
///
/// Gets or sets the description of the book, in HTML format.
///
public string? Description { get; set; }
///
/// Gets or sets the publisher of the book.
///
public string? Publisher { get; set; }
///
/// Gets or sets the publication date of the book.
///
public DateTimeOffset? PublishDate { get; set; }
///
/// Gets or sets the language code of the book.
///
public string? LanguageCode { get; set; }
///
/// Gets or sets the name of the series the book belongs to, if applicable.
///
public string? Series { get; set; }
///
/// Gets or sets the index of the book within its series, if applicable.
///
public double? SeriesIndex { get; set; }
///
/// Gets or sets the personal rating of the book, on a scale of 0 to 10.
///
public int? Rating { get; set; }
///
/// Gets or sets the href of the cover image, relative to the directory of the book.
///
public string? CoverHref { get; set; }
///
/// Gets the creators of the book.
///
public List Creators { get; } = [];
///
/// Gets the contributors of the book.
///
public List Contributors { get; } = [];
///
/// Gets the identifiers of the book, with their schemes.
///
public List Identifiers { get; } = [];
///
/// Gets the subjects of the book, used as tags.
///
public List Subjects { get; } = [];
}