Files
Nemera/src/Nemera.Contracts/DTO/MediaLibrary/WrittenContentLibrary/BookLibrary/BookMetadataDto.cs
T

51 lines
2.7 KiB
C#

#region ========================================================================= USING =====================================================================================
using Nemera.Contracts.DTO.Common;
using Nemera.Contracts.DTO.MediaContributors;
using Nemera.Domain.SharedKernel.Common.Enums.BookLibrary;
using System.Collections.Generic;
#endregion
namespace Nemera.Contracts.DTO.MediaLibrary.WrittenContentLibrary.BookLibrary;
/// <summary>
/// Data transfer object for the metadata of a book returned by a metadata provider.
/// </summary>
/// <param name="Metadata">Written content metadata of the book.</param>
/// <param name="Format">The format of the book (e.g., Hardcover, Paperback), if applicable.</param>
/// <param name="Edition">The edition of the book, if applicable.</param>
/// <param name="VolumeNumber">The volume or book number in the series, if applicable.</param>
/// <param name="Series">The series name, if the book is part of a series.</param>
/// <param name="ASIN">The ASIN (Amazon Standard Identification Number) of the book, if applicable.</param>
/// <param name="GoodreadsId">The Goodreads ID of the book, if applicable.</param>
/// <param name="LCCN">The Library of Congress Control Number (LCCN) of the book, if applicable.</param>
/// <param name="OCLCNumber">The OCLC Number (WorldCat identifier) of the book, if applicable.</param>
/// <param name="OpenLibraryId">The Open Library ID of the book, if applicable.</param>
/// <param name="LibraryThingId">The LibraryThing ID of the book, if applicable.</param>
/// <param name="GoogleBooksId">The Google Books ID of the book, if applicable.</param>
/// <param name="BarnesAndNobleId">The Barnes &amp; Noble ID of the book, if applicable.</param>
/// <param name="AppleBooksId">The Apple Books ID of the book, if applicable.</param>
/// <param name="Isbns">The list of ISBN (International Standard Book Number) of the book.</param>
/// <param name="Contributors">The list of media contributors of the book.</param>
/// <param name="Ratings">The list of ratings for the book.</param>
/// <param name="CoverImagePath">The path of the cover image of the book, if applicable.</param>
public sealed record BookMetadataDto(
WrittenContentMetadataDto? Metadata,
BookFormat? Format,
string? Edition,
float? VolumeNumber,
BookSeriesDto? Series,
string? ASIN,
string? GoodreadsId,
string? LCCN,
string? OCLCNumber,
string? OpenLibraryId,
string? LibraryThingId,
string? GoogleBooksId,
string? BarnesAndNobleId,
string? AppleBooksId,
List<IsbnDto>? Isbns,
List<MediaContributorDto>? Contributors,
List<BookRatingDto>? Ratings,
string? CoverImagePath
) : MetadataDto;