แก้ model profile

This commit is contained in:
Kittapath 2023-08-16 16:44:36 +07:00
parent 6a0d548f22
commit da20b8c64e
7 changed files with 112 additions and 6 deletions

View file

@ -829,6 +829,11 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(100)")
.HasComment("อาชีพคู่สมรส");
b.Property<string>("CoupleCitizenId")
.HasMaxLength(20)
.HasColumnType("varchar(20)")
.HasComment("เลขที่บัตรประชาชนคู่สมรส");
b.Property<string>("CoupleFirstName")
.HasMaxLength(100)
.HasColumnType("varchar(100)")
@ -844,6 +849,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(100)")
.HasComment("นามสกุลคู่สมรส(เดิม)");
b.Property<bool>("CoupleLive")
.HasColumnType("tinyint(1)")
.HasComment("มีชีวิตคู่สมรส");
b.Property<Guid?>("CouplePrefixId")
.HasColumnType("char(36)")
.HasComment("Id คำนำหน้าคู่สมรส");
@ -926,6 +935,11 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(100)")
.HasComment("อาชีพบิดา");
b.Property<string>("FatherCitizenId")
.HasMaxLength(20)
.HasColumnType("varchar(20)")
.HasComment("เลขที่บัตรประชาชนบิดา");
b.Property<string>("FatherFirstName")
.HasMaxLength(100)
.HasColumnType("varchar(100)")
@ -936,6 +950,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(100)")
.HasComment("นามสกุลบิดา");
b.Property<bool>("FatherLive")
.HasColumnType("tinyint(1)")
.HasComment("มีชีวิตบิดา");
b.Property<Guid?>("FatherPrefixId")
.HasColumnType("char(36)")
.HasComment("Id คำนำหน้าบิดา");
@ -1040,6 +1058,11 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(100)")
.HasComment("อาชีพมารดา");
b.Property<string>("MotherCitizenId")
.HasMaxLength(20)
.HasColumnType("varchar(20)")
.HasComment("เลขที่บัตรประชาชนมารดา");
b.Property<string>("MotherFirstName")
.HasMaxLength(100)
.HasColumnType("varchar(100)")
@ -1050,6 +1073,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(100)")
.HasComment("นามสกุลมารดา");
b.Property<bool>("MotherLive")
.HasColumnType("tinyint(1)")
.HasComment("มีชีวิตมารดา");
b.Property<Guid?>("MotherPrefixId")
.HasColumnType("char(36)")
.HasComment("Id คำนำหน้ามารดา");
@ -1828,6 +1855,9 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("datetime(6)")
.HasComment("วันที่หมดอายุ");
b.Property<bool>("IsActive")
.HasColumnType("tinyint(1)");
b.Property<DateTime?>("IssueDate")
.HasColumnType("datetime(6)")
.HasComment("วันที่ออกใบอนุญาต");
@ -2737,6 +2767,9 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(1000)")
.HasComment("สถานศึกษา");
b.Property<bool>("IsActive")
.HasColumnType("tinyint(1)");
b.Property<string>("LastUpdateFullName")
.IsRequired()
.HasMaxLength(200)
@ -4436,6 +4469,9 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("datetime(6)")
.HasComment("วัน เดือน ปี รับตำแหน่ง");
b.Property<bool>("IsActive")
.HasColumnType("tinyint(1)");
b.Property<string>("LastUpdateFullName")
.IsRequired()
.HasMaxLength(200)
@ -9384,6 +9420,12 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(101)
.HasComment("User Id ที่สร้างข้อมูล");
b.Property<bool>("IsActive")
.HasColumnType("tinyint(1)");
b.Property<bool>("IsPublished")
.HasColumnType("tinyint(1)");
b.Property<string>("LastUpdateFullName")
.IsRequired()
.HasMaxLength(200)