From a2bf58cf852c2ed2f26346ddc5291974cc38ff22 Mon Sep 17 00:00:00 2001 From: Drew Rautenberg Date: Wed, 15 Jul 2026 19:33:26 -0500 Subject: [PATCH] added required keywords to align with new standards --- barkmanAPI/barkDbModel.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/barkmanAPI/barkDbModel.cs b/barkmanAPI/barkDbModel.cs index bdbb7cb..214d277 100644 --- a/barkmanAPI/barkDbModel.cs +++ b/barkmanAPI/barkDbModel.cs @@ -12,11 +12,11 @@ public class BarkContext(DbContextOptions options) : DbContext(opti public class InventoryItems { public int Id {get; set;} - public string Barcode {get; set;} - public string Name { get; set; } - public string Brand { get; set; } + public required string Barcode {get; set;} + public required string Name { get; set; } + public required string Brand { get; set; } public string? SerialNumber { get; set; } - public ItemStatus Status { get; set; } + public required ItemStatus Status { get; set; } public string? StatusId { get; set; } public float? Weight { get; set; } public float? RentalPrice { get; set; } @@ -26,8 +26,8 @@ public class InventoryItems public class ItemStatus { - public string Id { get; set; } - public string Name { get; set; } + public required string Id { get; set; } + public required string Name { get; set; } } public class Customers