2023-03-23 12:31:21 +07:00
|
|
|
|
using BMA.EHR.Recurit.Exam.Service.Models;
|
2023-03-31 12:11:23 +07:00
|
|
|
|
using BMA.EHR.Recurit.Exam.Service.Models.Documents;
|
2023-03-23 12:31:21 +07:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BMA.EHR.Recurit.Exam.Service.Data
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ApplicationDbContext : DbContext
|
|
|
|
|
|
{
|
|
|
|
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
|
|
|
|
|
: base(options)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-04-10 16:28:05 +07:00
|
|
|
|
// public DbSet<Prefix> Prefixes { get; set; }
|
2023-03-23 12:31:21 +07:00
|
|
|
|
|
2023-04-10 16:28:05 +07:00
|
|
|
|
// public DbSet<Religion> Religions { get; set; }
|
2023-03-23 12:31:21 +07:00
|
|
|
|
|
2023-04-10 16:28:05 +07:00
|
|
|
|
// public DbSet<Relationship> Relationships { get; set; }
|
2023-03-23 12:31:21 +07:00
|
|
|
|
|
2023-04-10 16:28:05 +07:00
|
|
|
|
// public DbSet<EducationLevel> EducationLevels { get; set; }
|
2023-03-23 12:31:21 +07:00
|
|
|
|
|
2023-04-10 16:28:05 +07:00
|
|
|
|
// public DbSet<Province> Provinces { get; set; }
|
2023-03-23 12:31:21 +07:00
|
|
|
|
|
2023-04-10 16:28:05 +07:00
|
|
|
|
// public DbSet<District> Districts { get; set; }
|
2023-03-23 12:31:21 +07:00
|
|
|
|
|
2023-04-10 16:28:05 +07:00
|
|
|
|
// public DbSet<SubDistrict> SubDistricts { get; set; }
|
2023-03-23 12:31:21 +07:00
|
|
|
|
|
2023-03-23 21:41:26 +07:00
|
|
|
|
public DbSet<PeriodExam> PeriodExams { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DbSet<Candidate> Candidates { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DbSet<Career> Careers { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DbSet<Education> Educations { get; set; }
|
|
|
|
|
|
|
2023-03-31 12:11:23 +07:00
|
|
|
|
public DbSet<Document> Documents { get; set; }
|
2023-04-05 00:58:22 +07:00
|
|
|
|
|
2023-03-31 15:01:40 +07:00
|
|
|
|
public DbSet<CandidateDocument> CandidateDocuments { get; set; }
|
2023-04-07 11:10:15 +07:00
|
|
|
|
|
2023-04-05 00:58:22 +07:00
|
|
|
|
public DbSet<PositionExam> PositionExams { get; set; }
|
2023-04-07 11:10:15 +07:00
|
|
|
|
|
2023-04-05 00:58:22 +07:00
|
|
|
|
public DbSet<BankExam> BankExams { get; set; }
|
2023-03-31 12:11:23 +07:00
|
|
|
|
|
2023-04-07 11:10:15 +07:00
|
|
|
|
public DbSet<PeriodExamDocument> PeriodExamDocuments { get; set; }
|
2023-04-07 16:26:11 +07:00
|
|
|
|
|
2023-04-09 04:22:04 +07:00
|
|
|
|
public DbSet<PeriodExamImage> PeriodExamImages { get; set; }
|
|
|
|
|
|
|
2023-04-07 16:26:11 +07:00
|
|
|
|
public DbSet<CMSCandidate> CMSCandidates { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DbSet<CMSAgency> CMSAgencys { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DbSet<CMSGovernment> CMSGovernments { get; set; }
|
|
|
|
|
|
|
2023-03-23 12:31:21 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|