migrate + ปรับ API ระบบสอบคัดเลือกผู้พิการ

This commit is contained in:
Bright 2025-09-05 14:08:51 +07:00
parent 38ed06ece6
commit 5a94c3b67a
7 changed files with 4343 additions and 181 deletions

View file

@ -1067,6 +1067,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Data.Migrations
.HasMaxLength(20)
.HasColumnType("varchar(20)");
b.Property<string>("HddPosition")
.HasColumnType("longtext")
.HasComment("บัญชีสอบ");
b.Property<string>("Isspecial")
.IsRequired()
.HasMaxLength(1)
@ -1151,6 +1155,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Data.Migrations
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("typeTest")
.HasColumnType("longtext")
.HasComment("ประเภทการสอบภาค ก.");
b.HasKey("Id");
b.HasIndex("PeriodExamId");
@ -1833,22 +1841,30 @@ namespace BMA.EHR.Recurit.Exam.Service.Data.Migrations
b.Property<string>("ABStatus")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
.HasColumnType("varchar(50)")
.HasComment("ภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่ง ผลประเมิน");
b.Property<string>("AStatus")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
.HasColumnType("varchar(50)")
.HasComment("ภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่ง ผลประเมิน");
b.Property<string>("BStatus")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("CStatus")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
.HasColumnType("varchar(50)")
.HasComment("ภาคความเหมาะสมกับตำแหน่ง ผลประเมิน");
b.Property<string>("CitizenId")
.IsRequired()
.HasMaxLength(13)
.HasColumnType("varchar(13)")
.HasComment("เลขประจำตัวประชาชน");
b.Property<DateTime>("CreatedAt")
.HasColumnType("datetime(6)")
@ -1872,21 +1888,33 @@ namespace BMA.EHR.Recurit.Exam.Service.Data.Migrations
b.Property<string>("ExamId")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
.HasColumnType("varchar(50)")
.HasComment("เลขประจำตัวสอบ");
b.Property<string>("ExamStatus")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
.HasColumnType("varchar(50)")
.HasComment("สอบได้ / ตก / ขาดสอบ");
b.Property<int>("FullA")
.HasColumnType("int");
.HasColumnType("int")
.HasComment("ภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่ง คะแนนเต็ม");
b.Property<int>("FullB")
b.Property<int?>("FullB")
.HasColumnType("int");
b.Property<int>("FullC")
.HasColumnType("int");
.HasColumnType("int")
.HasComment("ภาคความเหมาะสมกับตำแหน่ง ทดสอบสมรรถนะ+ทดสอบจิตวิทยาฯ คะแนนเต็ม");
b.Property<int>("FullD")
.HasColumnType("int")
.HasComment("ภาคความเหมาะสมกับตำแหน่ง สัมภาษณ์ คะแนนเต็ม");
b.Property<int>("FullScore")
.HasColumnType("int")
.HasComment("คะแนนเต็ม");
b.Property<string>("LastUpdateFullName")
.IsRequired()
@ -1919,28 +1947,55 @@ namespace BMA.EHR.Recurit.Exam.Service.Data.Migrations
.HasComment("ลำดับที่สอบได้");
b.Property<double>("PercentageA")
.HasColumnType("double");
.HasColumnType("double")
.HasComment("ภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่ง ร้อยละ");
b.Property<double>("PercentageB")
b.Property<double?>("PercentageB")
.HasColumnType("double");
b.Property<double>("PercentageC")
.HasColumnType("double");
.HasColumnType("double")
.HasComment("ภาคความเหมาะสมกับตำแหน่ง ร้อยละ");
b.Property<string>("RemarkExamOrder")
.IsRequired()
.HasColumnType("longtext")
.HasComment("หมายเหตุจากลำดับที่สอบได้");
b.Property<string>("RemarkScore")
.IsRequired()
.HasColumnType("longtext")
.HasComment("หมายเหตุจากบัญชีรวมคะแนน");
b.Property<Guid>("ScoreImportId")
.HasColumnType("char(36)");
b.Property<int>("SumA")
.HasColumnType("int");
b.Property<double>("SumA")
.HasColumnType("double")
.HasComment("ภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่ง คะแนนรวม");
b.Property<int>("SumAB")
.HasColumnType("int");
b.Property<double>("SumAB")
.HasColumnType("double")
.HasComment("ภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่ง คะแนนรวม");
b.Property<int>("SumB")
.HasColumnType("int");
b.Property<double?>("SumB")
.HasColumnType("double");
b.Property<int>("SumC")
.HasColumnType("int");
b.Property<double>("SumC")
.HasColumnType("double")
.HasComment("ภาคความเหมาะสมกับตำแหน่ง ทดสอบสมรรถนะ+ทดสอบจิตวิทยาฯ คะแนนรวม");
b.Property<double>("SumCD")
.HasColumnType("double")
.HasComment("ภาคความเหมาะสมกับตำแหน่ง คะแนนรวมทดสอบสมรรถนะ+ทดสอบจิตวิทยาฯ และสัมภาษณ์");
b.Property<double>("SumD")
.HasColumnType("double")
.HasComment("ภาคความเหมาะสมกับตำแหน่ง สัมภาษณ์ คะแนนรวม");
b.Property<double>("TotalScore")
.HasColumnType("double")
.HasComment("คะแนนรวม");
b.HasKey("Id");