Skip to content

Commit

Permalink
chore: #1294: Add functions to submit MV4 homework request.
Browse files Browse the repository at this point in the history
  • Loading branch information
zabeen committed Apr 30, 2024
1 parent e816fc8 commit 4bec26f
Show file tree
Hide file tree
Showing 15 changed files with 1,061 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Atlas.ManualTesting.Common.Contexts;
using Atlas.ManualTesting.Common.Models.Entities;
using Atlas.MatchPrediction.Test.Validation.Data.Models;
using Atlas.MatchPrediction.Test.Validation.Data.Models.Homework;
using Microsoft.EntityFrameworkCore;

namespace Atlas.MatchPrediction.Test.Validation.Data.Context
Expand All @@ -26,6 +27,9 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
modelBuilder.Entity<LocusMatchDetails>().SetUpModel();
modelBuilder.Entity<MatchedDonorProbability>().SetUpModel();

modelBuilder.Entity<HomeworkSet>().SetUpModel();
modelBuilder.Entity<PatientDonorPair>().SetUpModel();

base.OnModelCreating(modelBuilder);
}

Expand All @@ -40,5 +44,8 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
public DbSet<MatchedDonor> MatchedDonors { get; set; }
public DbSet<LocusMatchDetails> LocusMatchDetails { get; set; }
public DbSet<MatchedDonorProbability> MatchProbabilities { get; set; }

public DbSet<HomeworkSet> HomeworkSets { get; set; }
public DbSet<PatientDonorPair> PatientDonorPairs { get; set; }
}
}
Loading

0 comments on commit 4bec26f

Please sign in to comment.