mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-13 06:11:55 +00:00
created item status db
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user