แก้ฟิว placementeducation
This commit is contained in:
parent
55a5914967
commit
85bc0fd359
5 changed files with 10784 additions and 40 deletions
|
|
@ -8618,6 +8618,11 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<string>("Country")
|
||||
.HasMaxLength(1000)
|
||||
.HasColumnType("varchar(1000)")
|
||||
.HasComment("ประเทศ");
|
||||
|
||||
b.Property<DateTime>("CreatedAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(100)
|
||||
|
|
@ -8637,17 +8642,59 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<DateTime>("DurationEnd")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("ระยะเวลาสิ้นสุด");
|
||||
b.Property<string>("Degree")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasComment("วุฒิการศึกษา");
|
||||
|
||||
b.Property<DateTime>("DurationStart")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("ระยะเวลาเริ่ม");
|
||||
b.Property<string>("Duration")
|
||||
.HasMaxLength(1000)
|
||||
.HasColumnType("varchar(1000)")
|
||||
.HasComment("ระยะเวลา");
|
||||
|
||||
b.Property<int>("DurationYear")
|
||||
.HasColumnType("int")
|
||||
.HasComment("ระยะเวลาหลักสูตร");
|
||||
|
||||
b.Property<Guid?>("EducationLevelId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<DateTime?>("EndDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("ถึง");
|
||||
|
||||
b.Property<string>("Field")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasComment("สาขาวิชา/ทาง");
|
||||
|
||||
b.Property<DateTime?>("FinishDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่สำเร็จการศึกษา");
|
||||
|
||||
b.Property<string>("FundName")
|
||||
.HasMaxLength(1000)
|
||||
.HasColumnType("varchar(1000)")
|
||||
.HasComment("ทุน");
|
||||
|
||||
b.Property<string>("Gpa")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("varchar(20)")
|
||||
.HasComment("เกรดเฉลี่ย");
|
||||
|
||||
b.Property<string>("Institute")
|
||||
.HasMaxLength(1000)
|
||||
.HasColumnType("varchar(1000)")
|
||||
.HasComment("สถานศึกษา");
|
||||
|
||||
b.Property<bool?>("IsDate")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("ประเภทช่วงเวลาการศึกษา");
|
||||
|
||||
b.Property<bool?>("IsEducation")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("เป็นวุฒิศึกษาในตำแหน่ง");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
|
|
@ -8667,23 +8714,20 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(102)
|
||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||
|
||||
b.Property<string>("Major")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("สาขาวิชา/วิชาเอก");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อสถานศึกษา");
|
||||
b.Property<string>("Other")
|
||||
.HasMaxLength(1000)
|
||||
.HasColumnType("varchar(1000)")
|
||||
.HasComment("ข้อมูลการติดต่อ");
|
||||
|
||||
b.Property<Guid>("PlacementProfileId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<float>("Scores")
|
||||
.HasMaxLength(10)
|
||||
.HasColumnType("float")
|
||||
.HasComment("คะแนนเฉลี่ยตลอดหลักสูตร");
|
||||
b.Property<Guid?>("PositionPathId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<DateTime?>("StartDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("ตั้งแต่");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
|
|
@ -8691,6 +8735,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
|
||||
b.HasIndex("PlacementProfileId");
|
||||
|
||||
b.HasIndex("PositionPathId");
|
||||
|
||||
b.ToTable("PlacementEducations");
|
||||
});
|
||||
|
||||
|
|
@ -9989,9 +10035,15 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("BMA.EHR.Domain.Models.MetaData.PositionPath", "PositionPath")
|
||||
.WithMany()
|
||||
.HasForeignKey("PositionPathId");
|
||||
|
||||
b.Navigation("EducationLevel");
|
||||
|
||||
b.Navigation("PlacementProfile");
|
||||
|
||||
b.Navigation("PositionPath");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.Placement.PlacementProfile", b =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue