wrote some clases

This commit is contained in:
2026-07-15 20:49:00 -05:00
parent f1f1f17d72
commit bc72fb449b
+30 -1
View File
@@ -41,4 +41,33 @@ public class Customers
public string? Address { get; set; }
public string? BillingTerms { get; set; }
public string? Notes { get; set; }
}
}
public class Orders
{
public int Id { get; set; }
public required string CustomerId { get; set; }
public required string Name { get; set; }
public string Status { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public float TotalPrice { get; set; }
public string? Venue { get; set; }
public string? Address { get; set; }
public OrderItems[] Items { get; set; }
public string? Notes { get; set; }
}
public class OrderItems
{
public int Id { get; set; }
public required string OrderId { get; set; }
public required string ItemId { get; set; }
public int Quantity { get; set; }
}
public class OrderStatus
{
public string Id { get; set; }
public string Name { get; set; }
}