aboutsummaryrefslogtreecommitdiffstats
path: root/src/Data/Dtos/AdminViewOrderDto.cs
blob: 846b503a13c6b5612554c01de904f1b3011e5b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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; }
	}
}