namespace NexusReader.Application.Queries.Reader;

/// <summary>
/// Represents metadata extracted from a local EPUB file.
/// </summary>
public record LocalEpubMetadata
{
    /// <summary>
    /// The title of the book.
    /// </summary>
    public string Title { get; set; } = string.Empty;

    /// <summary>
    /// The author(s) of the book.
    /// </summary>
    public string Author { get; set; } = string.Empty;

    /// <summary>
    /// The raw bytes of the cover image, if available.
    /// </summary>
    public byte[]? CoverImage { get; set; }

    /// <summary>
    /// The description or summary of the book.
    /// </summary>
    public string? Description { get; set; }
}
