21 lines
686 B
C#
21 lines
686 B
C#
// Auto-generiert von CreateWebshopFiles.ps1
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Webshop.Application.DTOs
|
|
{
|
|
public class CreateOrderDto
|
|
{
|
|
public Guid? CustomerId { get; set; } // Nullable für Gastbestellung
|
|
public string? GuestEmail { get; set; }
|
|
public string? GuestPhoneNumber { get; set; }
|
|
public Guid ShippingAddressId { get; set; }
|
|
public Guid BillingAddressId { get; set; }
|
|
public Guid PaymentMethodId { get; set; }
|
|
public Guid ShippingMethodId { get; set; }
|
|
public List<CreateOrderItemDto> Items { get; set; } = new List<CreateOrderItemDto>();
|
|
}
|
|
}
|