using IRaCIS.Core.Domain.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;


namespace IRaCIS.Core.Infra.EFCore.EntityConfigration
{
    public class SubjectVisitConfigration : IEntityTypeConfiguration<SubjectVisit>
    {
       

        public void Configure(EntityTypeBuilder<SubjectVisit> builder)
        {
          


            builder.HasOne(s => s.Subject).WithMany(sv => sv.SubjectVisitList);
        }
    }
}
