Api/Netina.Domain/Dtos/LargDtos/OrderLDto.cs

33 lines
1.2 KiB
C#
Raw Normal View History

namespace Netina.Domain.Dtos.LargDtos;
public class OrderLDto : BaseDto<OrderLDto,Order>
{
public string FactorCode { get; set; } = string.Empty;
public long TotalPrice { get; set; }
public long DeliveryPrice { get; set; }
public long TaxesPrice { get; set; }
public long ServicePrice { get; set; }
public long PackingPrice { get; set; }
public long TotalProductsPrice { get; set; }
2024-02-13 14:56:55 +03:30
public double DiscountCodePrice { get; set; }
public double ProductDiscountPrice { get; set; }
public long DiscountPrice { get; set; }
public bool IsPayed { get; set; }
public OrderStatus OrderStatus { get; set; }
public DateTime DoneAt { get; set; }
public DateTime OrderAt { get; set; }
public int PreparingMinute { get; set; }
public string DiscountCode { get; set; } = string.Empty;
public long TotalPriceWithoutDiscount => TotalPrice + DiscountPrice;
public string CustomerFullName { get; set; } = string.Empty;
public string CustomerPhoneNumber { get; set; } = string.Empty;
public List<OrderProductSDto> OrderProducts { get; set; } = new();
public List<PaymentSDto> Payments { get; set; } = new();
2024-03-01 16:07:11 +03:30
public OrderDeliverySDto OrderDelivery { get; set; } = new();
}