created item status db

This commit is contained in:
2025-01-23 13:02:54 -06:00
parent 47d2918a0b
commit 58e19bd32a
5 changed files with 166 additions and 13 deletions
+7
View File
@@ -5,6 +5,7 @@ namespace barkmanapi;
public class BarkContext(DbContextOptions<BarkContext> options) : DbContext(options)
{
public DbSet<InventoryItems> Inventory { get; set; }
public DbSet<ItemStatus> ItemStatus { get; set; }
}
public class InventoryItems
@@ -17,4 +18,10 @@ public class InventoryItems
public float? RentalPrice { get; set; }
public float? ReplacementCost { get; set; }
public string? Notes { get; set; }
}
public class ItemStatus
{
public string Id { get; set; }
public string Name { get; set; }
}