Structurare backend

This commit is contained in:
andrei-mihnea-cerbu
2024-04-04 15:11:30 +03:00
parent 4d0636f011
commit d43beb66b6
87 changed files with 6272 additions and 0 deletions
@@ -0,0 +1,19 @@
using Core.Entities;
using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Data
{
public class HealthcareManagerContext : DbContext
{
public HealthcareManagerContext(DbContextOptions<HealthcareManagerContext> options) : base(options) { }
public DbSet<Pacient> Pacients { get; set; }
public DbSet<MedicalHistory> MedicalHistories { get; set; }
public DbSet<Doctor> Doctors { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
}
}
}