ย้ายมาออกรายงานผ่านระบบ
This commit is contained in:
parent
4987f7c5ad
commit
b817b781d2
144 changed files with 5573 additions and 63 deletions
79
Data/ExamDbContext.cs
Normal file
79
Data/ExamDbContext.cs
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
using BMA.EHR.Recruit.Service.Models.Documents;
|
||||
using BMA.EHR.Recurit.Exam.Service.Models;
|
||||
using BMA.EHR.Recurit.Exam.Service.Models.Disables;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Report.Service.Data
|
||||
{
|
||||
public class ExamDbContext : DbContext
|
||||
{
|
||||
public ExamDbContext(DbContextOptions<ExamDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
//base.OnModelCreating(modelBuilder);
|
||||
|
||||
//modelBuilder.Ignore<Document>();
|
||||
//modelBuilder.Ignore<RecruitImport>();
|
||||
//modelBuilder.Ignore<Recruit.Service.Models.Recruits.Recruit>();
|
||||
//modelBuilder.Ignore<RecruitAddress>();
|
||||
//modelBuilder.Ignore<RecruitOccupation>();
|
||||
//modelBuilder.Ignore<RecruitCertificate>();
|
||||
//modelBuilder.Ignore<RecruitEducation>();
|
||||
//modelBuilder.Ignore<ScoreImport>();
|
||||
//modelBuilder.Ignore<RecruitScore>();
|
||||
//modelBuilder.Ignore<RecruitPayment>();
|
||||
//modelBuilder.Ignore<RecruitDocument>();
|
||||
//modelBuilder.Ignore<RecruitImportHistory>();
|
||||
}
|
||||
|
||||
public DbSet<PeriodExam> PeriodExams { get; set; }
|
||||
|
||||
public DbSet<Candidate> Candidates { get; set; }
|
||||
|
||||
public DbSet<Career> Careers { get; set; }
|
||||
|
||||
public DbSet<Education> Educations { get; set; }
|
||||
|
||||
public DbSet<Document> Documents { get; set; }
|
||||
|
||||
public DbSet<CandidateDocument> CandidateDocuments { get; set; }
|
||||
|
||||
public DbSet<PositionExam> PositionExams { get; set; }
|
||||
|
||||
public DbSet<BankExam> BankExams { get; set; }
|
||||
|
||||
public DbSet<PeriodExamDocument> PeriodExamDocuments { get; set; }
|
||||
|
||||
public DbSet<PeriodExamImage> PeriodExamImages { get; set; }
|
||||
|
||||
public DbSet<CMSCandidate> CMSCandidates { get; set; }
|
||||
|
||||
public DbSet<CMSAgency> CMSAgencys { get; set; }
|
||||
|
||||
public DbSet<CMSGovernment> CMSGovernments { get; set; }
|
||||
|
||||
public DbSet<Disable> Disables { get; set; }
|
||||
|
||||
public DbSet<DisableAddress> DisableAddresses { get; set; }
|
||||
|
||||
public DbSet<DisableOccupation> DisableOccupations { get; set; }
|
||||
|
||||
public DbSet<DisableCertificate> DisableCertificates { get; set; }
|
||||
|
||||
public DbSet<DisableEducation> DisableEducations { get; set; }
|
||||
|
||||
public DbSet<ScoreImport> ScoreImports { get; set; }
|
||||
|
||||
public DbSet<DisableScore> DisableScores { get; set; }
|
||||
|
||||
public DbSet<DisablePayment> DisablePayments { get; set; }
|
||||
|
||||
public DbSet<DisableDocument> DisableDocuments { get; set; }
|
||||
|
||||
public DbSet<DisableImportHistory> DisableImportHistories { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue