add commander position and leave approvers

This commit is contained in:
Suphonchai Phoonsawat 2025-04-17 09:31:05 +07:00
parent 59be7ac619
commit 885478f672
8 changed files with 1685 additions and 2 deletions

View file

@ -195,5 +195,7 @@ namespace BMA.EHR.Domain.Models.Leave.Requests
public string? CommanderPosition { get; set; } = string.Empty;
public List<LeaveRequestApprover> Approvers { get; set; } = new();
}
}

View file

@ -0,0 +1,27 @@
using BMA.EHR.Domain.Models.Base;
namespace BMA.EHR.Domain.Models.Leave.Requests
{
public class LeaveRequestApprover: EntityBase
{
public LeaveRequest LeaveRequest { get; set; }
public int Seq { get; set; } = 0;
public string Prefix { get; set; } = string.Empty;
public string FirstName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
public string PositionName { get; set; } = string.Empty;
public Guid ProfileId { get; set; } = Guid.Empty;
public Guid KeycloakId { get; set; } = Guid.Empty;
public string ApproveStatus { get; set; } = string.Empty;
public string Comment { get; set; } = string.Empty;
}
}