Files
ShopSolution-backend/Webshop.Application/DTOs/Orders/CreateOrderDto.cs
Tizian.Breuch f91fc13a87 checkout
2025-08-12 13:32:25 +02:00

21 lines
736 B
C#

// src/Webshop.Application/DTOs/Orders/CreateOrderDto.cs
using System;
using System.Collections.Generic;
namespace Webshop.Application.DTOs.Orders
{
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 string? CouponCode { get; set; } // << NEU >>
public List<CreateOrderItemDto> Items { get; set; } = new List<CreateOrderItemDto>();
}
}