Receive and Deploy Command
This commit is contained in:
parent
297b1efb57
commit
4e8b7ea32b
24 changed files with 49003 additions and 87 deletions
|
|
@ -113,10 +113,6 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("ExamRoundId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("อ้างอิงรอบการสอบ");
|
||||
|
||||
b.Property<Guid>("IssuerOrganizationId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("รหัสอ้างอิงหน่วยงานที่ออกคำสั่ง");
|
||||
|
|
@ -149,6 +145,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("char(36)")
|
||||
.HasComment("รหัสส่วนราชการผู้ออกคำสั่ง");
|
||||
|
||||
b.Property<Guid>("PlacementId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("อ้างอิงรอบการสอบ");
|
||||
|
||||
b.Property<string>("PositionName")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
|
|
@ -160,6 +160,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
|
||||
b.HasIndex("CommandTypeId");
|
||||
|
||||
b.HasIndex("PlacementId");
|
||||
|
||||
b.ToTable("Commands");
|
||||
});
|
||||
|
||||
|
|
@ -172,6 +174,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<string>("CitizenId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(13)
|
||||
.HasColumnType("varchar(13)")
|
||||
.HasComment("เลขประจำตัวประชาชน");
|
||||
|
||||
b.Property<Guid>("CommandId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("รหัสอ้างอิงคำสั่ง");
|
||||
|
|
@ -195,6 +203,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("FirstName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("varchar(100)")
|
||||
.HasComment("ชื่อ");
|
||||
|
||||
b.Property<bool>("IsSendInbox")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("ส่งกล่องข้อความหรือไม่?");
|
||||
|
|
@ -207,6 +221,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("ส่งแจ้งเตือนหรือไม่?");
|
||||
|
||||
b.Property<string>("LastName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("varchar(100)")
|
||||
.HasComment("นามสกุล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
|
|
@ -226,11 +246,31 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(102)
|
||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||
|
||||
b.Property<string>("OrganizationName")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงานของผู้รับสำเนาคำสั่ง");
|
||||
|
||||
b.Property<string>("PositionName")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อตำแหน่งของผู้รับสำเนาคำสั่ง");
|
||||
|
||||
b.Property<string>("Prefix")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
.HasColumnType("varchar(50)")
|
||||
.HasComment("คำนำหน้านาม");
|
||||
|
||||
b.Property<string>("ReceiveUserId")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("รหัสอ้างอิงผู้ใช้งานระบบ");
|
||||
|
||||
b.Property<int>("Sequence")
|
||||
.HasColumnType("int")
|
||||
.HasComment("ลำดับ");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("CommandId");
|
||||
|
|
@ -385,6 +425,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("varchar(50)")
|
||||
.HasComment("คำนำหน้านาม");
|
||||
|
||||
b.Property<Guid?>("RefPlacementProfileId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("รหัสอ้างอิงไปยังข้อมูลผู้บรรจุ");
|
||||
|
||||
b.Property<int>("Sequence")
|
||||
.HasColumnType("int")
|
||||
.HasComment("ลำดับในบัญชีแนบท้าย");
|
||||
|
|
@ -473,6 +517,11 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("varchar(100)")
|
||||
.HasComment("ประเภทคำสั่ง");
|
||||
|
||||
b.Property<string>("CommandCode")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("รหัสของประเภทคำสั่ง");
|
||||
|
||||
b.Property<DateTime>("CreatedAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(100)
|
||||
|
|
@ -10594,9 +10643,17 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("BMA.EHR.Domain.Models.Placement.Placement", "Placement")
|
||||
.WithMany()
|
||||
.HasForeignKey("PlacementId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("CommandStatus");
|
||||
|
||||
b.Navigation("CommandType");
|
||||
|
||||
b.Navigation("Placement");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.Commands.Core.CommandDeployment", b =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue