fix: Change Profile Link to Guid

This commit is contained in:
Suphonchai Phoonsawat 2024-06-11 09:34:06 +07:00
parent ee2a0f1e36
commit b7120551b5
6 changed files with 1213 additions and 47 deletions

View file

@ -21,8 +21,10 @@ namespace BMA.EHR.Domain.Models.HR
[Comment("เหตุผล")]
public string? Reason { get; set; }
public virtual List<ProfileLeaveHistory> ProfileLeaveHistorys { get; set; } = new List<ProfileLeaveHistory>();
public virtual Profile? Profile { get; set; }
//public virtual Profile? Profile { get; set; }
[Comment("ประเภทการลา")]
public virtual TypeLeave? TypeLeave { get; set; }
public Guid ProfileId { get; set; } = Guid.Empty;
}
}