22 lines
669 B
C#
22 lines
669 B
C#
// Auto-generiert von CreateWebshopFiles.ps1
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Webshop.Application.DTOs
|
|
{
|
|
public class OrderItemDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid OrderId { get; set; } // Foreign Key zu Order
|
|
public Guid ProductId { get; set; }
|
|
public Guid? ProductVariantId { get; set; }
|
|
public string ProductName { get; set; } = string.Empty;
|
|
public string ProductSKU { get; set; } = string.Empty;
|
|
public int Quantity { get; set; }
|
|
public decimal UnitPrice { get; set; }
|
|
public decimal TotalPrice { get; set; }
|
|
}
|
|
}
|