21 lines
736 B
C#
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>();
|
|
}
|
|
} |