บันทึกผลการสอบสวนวินัย
This commit is contained in:
parent
e510639947
commit
3d8d65f21f
16 changed files with 33949 additions and 25 deletions
|
|
@ -501,14 +501,38 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("กรณีความผิด");
|
||||
|
||||
b.Property<string>("DisciplinaryCauseText")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ผลการสอบสวน กรณีมีมูล");
|
||||
|
||||
b.Property<DateTime?>("DisciplinaryDateAllegation")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่รับทราบข้อกล่าวหา");
|
||||
|
||||
b.Property<DateTime?>("DisciplinaryDateEnd")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่สิ้นสุดการสอบสวน");
|
||||
|
||||
b.Property<DateTime?>("DisciplinaryDateEvident")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่สรุปพยานหลักฐาน");
|
||||
|
||||
b.Property<DateTime?>("DisciplinaryDateInvestigation")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่มีคำสั่งให้สอบสวน");
|
||||
|
||||
b.Property<DateTime?>("DisciplinaryDateResult")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่รายงานผลการสอบสวน");
|
||||
|
||||
b.Property<DateTime?>("DisciplinaryDateStart")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่เริ่มการสอบสวน");
|
||||
|
||||
b.Property<int?>("DisciplinaryDaysExtend")
|
||||
.HasColumnType("int")
|
||||
.HasComment("จำนวนวันที่ขยาย");
|
||||
|
||||
b.Property<string>("DisciplinaryFaultLevel")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ระดับโทษความผิด กรณีไม่ร้ายแรง: ภาคทัณฑ์, ตัดเงินเดือน, ลดขั้นเงินเดือน | กรณีร้ายแรง: ปลดออก, ไล่ออก");
|
||||
|
|
@ -525,6 +549,14 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("อ้างอิงมาตราตามกฎหมาย");
|
||||
|
||||
b.Property<string>("DisciplinaryResult")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ผลการสอบสวน เหตุผล");
|
||||
|
||||
b.Property<string>("DisciplinaryStatusResult")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ผลการสอบสวน ผล");
|
||||
|
||||
b.Property<string>("DisciplinarySummaryEvidence")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("สรุปพยานหลักฐานสนับสนุนข้อกล่าวหา");
|
||||
|
|
@ -610,6 +642,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ผลการตรวจสอบเรื่องร้องเรียน");
|
||||
|
||||
b.Property<string>("ResultDescription")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("สรุปผลการพิจารณา");
|
||||
|
||||
b.Property<string>("ResultInvestigate")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ผลการตรวจสอบเรื่องสืบสวน");
|
||||
|
|
@ -1003,6 +1039,68 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
b.ToTable("DisciplineDisciplinary_DocRecordAccusers");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.Discipline.DisciplineDisciplinary_DocRelevant", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("char(36)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<DateTime>("CreatedAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(100)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("varchar(40)")
|
||||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("DisciplineDisciplinaryId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid>("DocumentId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("varchar(40)")
|
||||
.HasColumnOrder(103)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<DateTime?>("LastUpdatedAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(102)
|
||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("DisciplineDisciplinaryId");
|
||||
|
||||
b.HasIndex("DocumentId");
|
||||
|
||||
b.ToTable("DisciplineDisciplinary_DocRelevants");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.Discipline.DisciplineDisciplinary_DocSummaryEvidence", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
|
|
@ -2052,6 +2150,14 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
b.Property<DateTime?>("DateStart")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<DateTime?>("DutyTimeEffectiveDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่รอบการลงเวลามีผล");
|
||||
|
||||
b.Property<Guid?>("DutyTimeId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("รอบการลงเวลาเข้างาน");
|
||||
|
||||
b.Property<string>("EmployeeClass")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("varchar(20)")
|
||||
|
|
@ -9836,6 +9942,25 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
b.Navigation("Document");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.Discipline.DisciplineDisciplinary_DocRelevant", b =>
|
||||
{
|
||||
b.HasOne("BMA.EHR.Domain.Models.Discipline.DisciplineDisciplinary", "DisciplineDisciplinary")
|
||||
.WithMany("DisciplineDisciplinary_DocRelevants")
|
||||
.HasForeignKey("DisciplineDisciplinaryId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("BMA.EHR.Domain.Models.Discipline.Document", "Document")
|
||||
.WithMany()
|
||||
.HasForeignKey("DocumentId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("DisciplineDisciplinary");
|
||||
|
||||
b.Navigation("Document");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.Discipline.DisciplineDisciplinary_DocSummaryEvidence", b =>
|
||||
{
|
||||
b.HasOne("BMA.EHR.Domain.Models.Discipline.DisciplineDisciplinary", "DisciplineDisciplinary")
|
||||
|
|
@ -10786,6 +10911,8 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
|
||||
b.Navigation("DisciplineDisciplinary_DocRecordAccusers");
|
||||
|
||||
b.Navigation("DisciplineDisciplinary_DocRelevants");
|
||||
|
||||
b.Navigation("DisciplineDisciplinary_DocSummaryEvidences");
|
||||
|
||||
b.Navigation("DisciplineDisciplinary_DocWitnessess");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue