From bc72fb449bbf94fb1f3988e274d6b319043e57fc Mon Sep 17 00:00:00 2001 From: Drew Rautenberg Date: Wed, 15 Jul 2026 20:49:00 -0500 Subject: [PATCH] wrote some clases --- barkmanAPI/barkDbModel.cs | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/barkmanAPI/barkDbModel.cs b/barkmanAPI/barkDbModel.cs index 479bca8..98351bb 100644 --- a/barkmanAPI/barkDbModel.cs +++ b/barkmanAPI/barkDbModel.cs @@ -41,4 +41,33 @@ public class Customers public string? Address { get; set; } public string? BillingTerms { get; set; } public string? Notes { get; set; } -} \ No newline at end of file +} + +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; } +}