api import เครื่องราช,ใบกำกับ

This commit is contained in:
Kittapath 2023-08-24 19:23:33 +07:00
parent 9c610407f4
commit 69f23fd0cb
21 changed files with 47554 additions and 55 deletions

View file

@ -5407,8 +5407,13 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("longtext")
.HasComment("หมายเลขประกาศนียบัตรกำกับเครื่องราชฯ");
b.Property<Guid?>("OrganizationOrganizationSendId")
.HasColumnType("char(36)");
b.Property<string>("OrganizationOrganizationReceive")
.HasColumnType("longtext")
.HasComment("สังกัด ณ วันที่ได้รับพระราชทานเครื่องราชฯ");
b.Property<string>("OrganizationOrganizationSend")
.HasColumnType("longtext")
.HasComment("สังกัด ณ วันที่ขอพระราชทานเครื่องราชฯ");
b.Property<string>("Page")
.HasColumnType("longtext")
@ -5447,8 +5452,6 @@ namespace BMA.EHR.Infrastructure.Migrations
b.HasIndex("InsigniaNoteId");
b.HasIndex("OrganizationOrganizationSendId");
b.HasIndex("ProfileId");
b.HasIndex("RequestInsigniaId");
@ -5670,6 +5673,10 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Property<Guid>("ProfileId")
.HasColumnType("char(36)");
b.Property<string>("Reason")
.HasColumnType("longtext")
.HasComment("เหตุผลไม่ยื่นขอ");
b.Property<DateTime>("RequestDate")
.HasColumnType("datetime(6)");
@ -9234,6 +9241,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(15)
.HasComment("ส่วนราชการ");
b.Property<bool>("IsActive")
.HasColumnType("tinyint(1)")
.HasComment("สถานะการใช้งาน");
b.Property<string>("LastUpdateFullName")
.IsRequired()
.HasMaxLength(200)
@ -14066,10 +14077,6 @@ namespace BMA.EHR.Infrastructure.Migrations
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("BMA.EHR.Domain.Models.MetaData.OrganizationOrganization", "OrganizationOrganizationSend")
.WithMany()
.HasForeignKey("OrganizationOrganizationSendId");
b.HasOne("BMA.EHR.Domain.Models.HR.Profile", "Profile")
.WithMany()
.HasForeignKey("ProfileId")
@ -14084,8 +14091,6 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Navigation("InsigniaNote");
b.Navigation("OrganizationOrganizationSend");
b.Navigation("Profile");
b.Navigation("RequestInsignia");