AdminPanel/Netina.AdminPanel.PWA/Models/OrderTest.cs

31 lines
996 B
C#

namespace Netina.AdminPanel.PWA.Models;
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
public class OrderProduct
{
public int Count { get; set; }
public string Id { get; set; }
}
public class OrderTest
{
public string FactorCode { get; set; }
public int TotalPrice { get; set; }
public int DeliveryPrice { get; set; }
public int TaxesPrice { get; set; }
public int ServicePrice { get; set; }
public int PackingPrice { get; set; }
public int TotalProductsPrice { get; set; }
public int DiscountPrice { get; set; }
public bool IsPayed { get; set; }
public int OrderStatus { get; set; }
public DateTime DoneAt { get; set; }
public DateTime OrderAt { get; set; }
public int PreparingMinute { get; set; }
public string DiscountCode { get; set; }
public List<OrderProduct> OrderProducts { get; set; }
public List<object> OrderDeliveries { get; set; }
public string Id { get; set; }
}