Structurare backend
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user