Sky.Net/API/Dtos/OrderToReturnDto.cs

22 lines
692 B
C#
Raw Normal View History

2022-05-24 15:35:03 -07:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Core.Entities.OrderAggregate;
namespace API.Dtos
{
public class OrderToReturnDto
{
public int Id { get; set; }
public string BuyerEmail { get; set; }
public DateTimeOffset OrderDate { get; set; }
public Address ShipToAddress { get; set; }
public string DeliveryMethod { get; set; }
public decimal ShippingPrice { get; set; }
public IReadOnlyList<OrderItemDto> OrderItems { get; set; }
public decimal Subtotal { get; set; }
public decimal Total { get; set; }
public string Status { get; set; }
}
}