16 lines
385 B
C#
16 lines
385 B
C#
namespace AfterHours.Customers
|
|
{
|
|
/// <summary>Ein Artikel im Einkaufskorb eines Kunden. Nur serverseitig.</summary>
|
|
public readonly struct BasketLine
|
|
{
|
|
public readonly int ProductId;
|
|
public readonly float Price;
|
|
|
|
public BasketLine(int productId, float price)
|
|
{
|
|
ProductId = productId;
|
|
Price = price;
|
|
}
|
|
}
|
|
}
|