Adds the capability of adding a Book via API

This commit is contained in:
BinaryAlley committed 2024-08-24 22:11:55 +03:00
1 parent 6459b6f2c2
commit 0eb7b453f6
61 files changed
+1276 -255

No files matched your search

@@ -0,0 +1,29 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Application.Common.Enums;
#endregion
namespace Lumina.Application.Common.Models.Books;
/// <summary>
/// Represents a book.
/// </summary>
public record BookDto(
WrittenContentMetadataDto Metadata,
BookFormat Format,
string? Edition,
int? VolumeNumber,
BookSeriesDto? Series,
string? ASIN,
string? GoodreadsId,
string? LCCN,
string? OCLCNumber,
string? OpenLibraryId,
string? LibraryThingId,
string? GoogleBooksId,
string? BarnesAndNobleId,
string? KoboId,
string? AppleBooksId,
List<IsbnDto> ISBNs,
List<Guid> Contributors,
List<BookRatingDto> Ratings
);