try
This commit is contained in:
20
Webshop.Application/DTOs/CreateOrderDto.cs
Normal file
20
Webshop.Application/DTOs/CreateOrderDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user