aboutsummaryrefslogtreecommitdiffstats
path: root/src/Data/Dtos/AdminViewOrderDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Dtos/AdminViewOrderDto.cs')
-rw-r--r--src/Data/Dtos/AdminViewOrderDto.cs29
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