Add github action script and fixbug
This commit is contained in:
parent
f2dcf9bb49
commit
4c0ae730df
49 changed files with 6687 additions and 338 deletions
|
|
@ -62,6 +62,9 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<DateTime>("ApplyDate")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<DateTime>("CitizenCardExpireDate")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
|
|
@ -81,6 +84,9 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
.HasColumnOrder(100)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
|
|
@ -147,6 +153,9 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
.HasMaxLength(20)
|
||||
.HasColumnType("varchar(20)");
|
||||
|
||||
b.Property<DateTime>("ModifiedDate")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<string>("National")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
|
|
@ -1023,6 +1032,9 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
.HasColumnOrder(102)
|
||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||
|
||||
b.Property<Guid>("RecruitImportId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<int>("Year")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
|
@ -1030,6 +1042,9 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
|
||||
b.HasIndex("ImportFileId");
|
||||
|
||||
b.HasIndex("RecruitImportId")
|
||||
.IsUnique();
|
||||
|
||||
b.ToTable("ScoreImports");
|
||||
});
|
||||
|
||||
|
|
@ -1147,7 +1162,15 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("BMA.EHR.Recruit.Service.Models.Recruits.RecruitImport", "RecruitImport")
|
||||
.WithOne("ScoreImport")
|
||||
.HasForeignKey("BMA.EHR.Recruit.Service.Models.Recruits.ScoreImport", "RecruitImportId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("ImportFile");
|
||||
|
||||
b.Navigation("RecruitImport");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Recruit.Service.Models.Recruits.Recruit", b =>
|
||||
|
|
@ -1168,6 +1191,9 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
modelBuilder.Entity("BMA.EHR.Recruit.Service.Models.Recruits.RecruitImport", b =>
|
||||
{
|
||||
b.Navigation("Recruits");
|
||||
|
||||
b.Navigation("ScoreImport")
|
||||
.IsRequired();
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Recruit.Service.Models.Recruits.ScoreImport", b =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue