Add github action script and fixbug

This commit is contained in:
Suphonchai Phoonsawat 2023-04-06 16:38:26 +07:00
parent f2dcf9bb49
commit 4c0ae730df
49 changed files with 6687 additions and 338 deletions

View file

@ -69,5 +69,11 @@ namespace BMA.EHR.Recruit.Service.Models.Recruits
public virtual List<RecruitPayment> Payments { get; set; } = new List<RecruitPayment>();
public virtual List<RecruitDocument> Documents { get; set; } = new List<RecruitDocument>();
public DateTime CreatedDate { get; set; } = DateTime.Now;
public DateTime ModifiedDate { get; set; }
public DateTime ApplyDate { get; set; }
}
}

View file

@ -19,5 +19,7 @@ namespace BMA.EHR.Recruit.Service.Models.Recruits
public Document ImportFile { get; set; } = new Document();
public List<Recruit> Recruits { get; set; } = new List<Recruit>();
public ScoreImport ScoreImport { get; set; }
}
}

View file

@ -1,4 +1,5 @@
using BMA.EHR.Recruit.Service.Models.Documents;
using System.ComponentModel.DataAnnotations.Schema;
namespace BMA.EHR.Recruit.Service.Models.Recruits
{
@ -9,5 +10,10 @@ namespace BMA.EHR.Recruit.Service.Models.Recruits
public Document ImportFile { get; set; } = new Document();
public virtual List<RecruitScore> Scores { get; set; } = new List<RecruitScore>();
[ForeignKey("FK_Score_Import_ID")]
public Guid RecruitImportId { get; set; }
public RecruitImport RecruitImport { get; set; }
}
}