try
This commit is contained in:
27
Webshop.Application/DTOs/OrderDetailDto.cs
Normal file
27
Webshop.Application/DTOs/OrderDetailDto.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
|
||||
namespace Webshop.Application.DTOs
|
||||
{
|
||||
public class OrderDetailDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string OrderNumber { get; set; } = string.Empty;
|
||||
public Guid CustomerId { get; set; }
|
||||
public DateTimeOffset OrderDate { get; set; }
|
||||
public OrderStatus Status { get; set; }
|
||||
public decimal TotalAmount { get; set; }
|
||||
public Guid ShippingAddressId { get; set; }
|
||||
public Guid BillingAddressId { get; set; }
|
||||
public Guid PaymentMethodId { get; set; }
|
||||
public string? ShippingTrackingNumber { get; set; }
|
||||
public DateTimeOffset? ShippedDate { get; set; }
|
||||
public DateTimeOffset? DeliveredDate { get; set; }
|
||||
public PaymentStatus PaymentStatus { get; set; }
|
||||
public List<OrderItemDto> OrderItems { get; set; } = new List<OrderItemDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user