From 188102fe4ab4fee0cfeb041d96f2cfef33fc0643 Mon Sep 17 00:00:00 2001 From: Drew Rautenberg Date: Wed, 15 Jul 2026 19:41:26 -0500 Subject: [PATCH] removed required keywords. will address at a later time. --- barkmanAPI/barkDbModel.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/barkmanAPI/barkDbModel.cs b/barkmanAPI/barkDbModel.cs index e32cff0..2dd528b 100644 --- a/barkmanAPI/barkDbModel.cs +++ b/barkmanAPI/barkDbModel.cs @@ -13,11 +13,11 @@ public class BarkContext(DbContextOptions options) : DbContext(opti public class InventoryItems { public int Id {get; set;} - public required string Barcode {get; set;} - public required string Name { get; set; } - public required string Brand { get; set; } + public string Barcode {get; set;} + public string Name { get; set; } + public string Brand { get; set; } public string? SerialNumber { get; set; } - public required ItemStatus Status { get; set; } + public ItemStatus Status { get; set; } public string? StatusId { get; set; } public float? Weight { get; set; } public float? RentalPrice { get; set; } @@ -27,8 +27,8 @@ public class InventoryItems public class ItemStatus { - public required string Id { get; set; } - public required string Name { get; set; } + public string Id { get; set; } + public string Name { get; set; } } public class Customers