namespace MidrandBookshop.Components;

public partial class BookCard
{
    [Parameter] public long Id { get; set; }
    [Parameter] public string Title { get; set; } = string.Empty;
    [Parameter] public string Author { get; set; } = string.Empty;
    [Parameter] public decimal Price { get; set; }
    [Parameter] public string Category { get; set; } = string.Empty;
    [Parameter] public bool IsNew { get; set; }
    [Parameter] public string BookImageUrl { get; set; } = string.Empty;

    [Parameter] public EventCallback OnCardClick { get; set; }
}
