Сделал привязку местоположений и принтеров к местоположениям

This commit is contained in:
Hukuta committed 2026-04-28 13:52:50 +09:00
1 parent d69a5689e8
commit 13b3513d2d
49 files changed
+705 -1323

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
using Microsoft.EntityFrameworkCore;
using CartriX.Shared.Models;
namespace CartriX.Api
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions options) : base(options)
{
}
public DbSet<Printer> Printers { get; set; }
public DbSet<Location> Locations { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
}
}
}