Files
barkman/barkmanAPI/barkDbModel.cs
T

20 lines
564 B
C#

using Microsoft.EntityFrameworkCore;
namespace barkmanapi;
public class BarkContext(DbContextOptions<BarkContext> options) : DbContext(options)
{
public DbSet<InventoryItems> Inventory { get; set; }
}
public class InventoryItems
{
public int Id {get; set;}
public string Name { get; set; }
public string Brand { get; set; }
public string? SerialNumber { get; set; }
public string? Status { get; set; }
public float? RentalPrice { get; set; }
public float? ReplacementCost { get; set; }
public string? Notes { get; set; }
}