18 lines
414 B
C#
18 lines
414 B
C#
using LiteCharms.Features.MidrandBooks.Authors.Models;
|
|
using LiteCharms.Features.MidrandBooks.Products.Models;
|
|
|
|
namespace MidrandBookshop.Services.ShoppingCart.Models;
|
|
|
|
public sealed class CartItem
|
|
{
|
|
public Author? Author { get; set; }
|
|
|
|
public Product? Product { get; set; }
|
|
|
|
public ProductPrice? Price { get; set; }
|
|
|
|
public int Quantity { get; set; }
|
|
|
|
public decimal Amount { get; set; }
|
|
}
|