order
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +12,7 @@ namespace Webshop.Application.DTOs.Orders
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string OrderNumber { get; set; } = string.Empty;
|
||||
public Guid CustomerId { get; set; }
|
||||
public Guid? CustomerId { get; set; }
|
||||
public DateTimeOffset OrderDate { get; set; }
|
||||
public OrderStatus Status { get; set; }
|
||||
public decimal TotalAmount { get; set; }
|
||||
@@ -23,5 +24,8 @@ namespace Webshop.Application.DTOs.Orders
|
||||
public DateTimeOffset? DeliveredDate { get; set; }
|
||||
public PaymentStatus PaymentStatus { get; set; }
|
||||
public List<OrderItemDto> OrderItems { get; set; } = new List<OrderItemDto>();
|
||||
public Address ShippingAddress { get; set; } = default!; // << HINZUF<55>GEN >>
|
||||
public Address BillingAddress { get; set; } = default!; // << HINZUF<55>GEN >>
|
||||
public string PaymentMethod { get; set; } = string.Empty; // << HINZUF<55>GEN >>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user