แก้ออกคำสั่ง

This commit is contained in:
Kittapath 2024-06-14 17:26:15 +07:00
parent ee2aa136b9
commit 6c09c68c5c
33 changed files with 18908 additions and 626 deletions

View file

@ -4174,7 +4174,7 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("double")
.HasComment("ลาครั้งที่");
b.Property<Guid?>("ProfileId")
b.Property<Guid>("ProfileId")
.HasColumnType("char(36)");
b.Property<string>("Reason")
@ -14423,6 +14423,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(102)
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
b.Property<DateTime?>("LeaveDate")
.HasColumnType("datetime(6)")
.HasComment("วันที่ออกราชการเมื่อ");
b.Property<DateTime?>("MilitaryDate")
.HasColumnType("datetime(6)")
.HasComment("วันที่พ้นจากราชการทหาร");
@ -16432,16 +16436,16 @@ namespace BMA.EHR.Infrastructure.Migrations
modelBuilder.Entity("BMA.EHR.Domain.Models.HR.ProfileLeave", b =>
{
b.HasOne("BMA.EHR.Domain.Models.HR.Profile", "Profile")
b.HasOne("BMA.EHR.Domain.Models.HR.Profile", null)
.WithMany("Leaves")
.HasForeignKey("ProfileId");
.HasForeignKey("ProfileId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("BMA.EHR.Domain.Models.HR.TypeLeave", "TypeLeave")
.WithMany()
.HasForeignKey("TypeLeaveId");
b.Navigation("Profile");
b.Navigation("TypeLeave");
});