Refactors the get books and get books lite slices across the stack

This commit is contained in:
BinaryAlley committed 2026-09-13 04:16:59 -07:00
1 parent 001146eefc
commit 1d35cd01db
44 files changed
+1681 -418

No files matched your search

@@ -0,0 +1,31 @@
#region ========================================================================= USING =====================================================================================
using System;
#endregion
namespace Lumina.Application.Common.DTO.MediaLibrary.WrittenContentLibrary.BookLibrary;
/// <summary>
/// Lightweight read model of a book, containing only the fields needed to display the book in a card-based grid or a list.
/// </summary>
public sealed record BookLiteRow
{
/// <summary>
/// Gets the Id of the book.
/// </summary>
public required Guid Id { get; init; }
/// <summary>
/// Gets the title of the book.
/// </summary>
public required string Title { get; init; }
/// <summary>
/// Gets the release year of the book (re-release year, if available, or original release year), if known.
/// </summary>
public int? ReleaseYear { get; init; }
/// <summary>
/// Gets the path of the image representing the cover of the book, if available.
/// </summary>
public string? CoverPath { get; init; }
}