mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-08-11 11:42:03 +00:00
wrote some clases
This commit is contained in:
@@ -41,4 +41,33 @@ public class Customers
|
|||||||
public string? Address { get; set; }
|
public string? Address { get; set; }
|
||||||
public string? BillingTerms { get; set; }
|
public string? BillingTerms { get; set; }
|
||||||
public string? Notes { 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; }
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user