diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-06-01 21:13:43 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-06-01 21:13:43 +0200 |
| commit | 9383a2fb09ffb60cfe63683106945bd688affa59 (patch) | |
| tree | 65b3f4b48841583e355887db5de5a16e7005fc87 /src/Data/Dtos/AdminViewOrderDto.cs | |
| download | vinjesvingenhandel.no-9383a2fb09ffb60cfe63683106945bd688affa59.tar.xz vinjesvingenhandel.no-9383a2fb09ffb60cfe63683106945bd688affa59.zip | |
feat: Initial commit after clean slate
Diffstat (limited to 'src/Data/Dtos/AdminViewOrderDto.cs')
| -rw-r--r-- | src/Data/Dtos/AdminViewOrderDto.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Data/Dtos/AdminViewOrderDto.cs b/src/Data/Dtos/AdminViewOrderDto.cs new file mode 100644 index 0000000..846b503 --- /dev/null +++ b/src/Data/Dtos/AdminViewOrderDto.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using VSH.Data.Database; +using VSH.Data.Enums; + +namespace VSH.Data.Dtos; + +public class AdminViewOrderDto +{ + public Guid Id { get; set; } + public Order.ContactInformation ContactInformation { get; set; } + public List<OrderDetailProduct> Products { get; set; } + public string OrderReference { get; set; } + public DateTime OrderDate { get; set; } + public OrderPaymentType PaymentType { get; set; } + public OrderStatus Status { get; set; } + public string VippsStatus { get; set; } + public string VippsId { get; set; } + public string VippsTransactionStatus { get; set; } + public string Comment { get; set; } + + public class OrderDetailProduct + { + public Guid Id { get; set; } + public string Name { get; set; } + public int Count { get; set; } + public decimal PayedPrice { get; set; } + } +}
\ No newline at end of file |
