add api add commander and approver ด้วย และเพิ่มประเภทของผู้อนุมัติ
This commit is contained in:
parent
193cffa7c4
commit
ddc3d268be
8 changed files with 1620 additions and 48 deletions
|
|
@ -102,31 +102,7 @@ namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
|
|||
public DateTime? CoupleDayEndDateHistory { get; set; }
|
||||
|
||||
public string? CoupleDaySumTotalHistory { get; set; }
|
||||
|
||||
public string? Approvers { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class LeaveRequestApproverDto
|
||||
{
|
||||
[JsonProperty("seq")]
|
||||
public int Seq { get; set; } = 0;
|
||||
|
||||
[JsonProperty("prefix")]
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("firstName")]
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("lastName")]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("positionName")]
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("profileId")]
|
||||
public Guid ProfileId { get; set; } = Guid.Empty;
|
||||
|
||||
[JsonProperty("keycloakId")]
|
||||
public Guid KeycloakId { get; set; } = Guid.Empty;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
28
BMA.EHR.Leave/DTOs/LeaveRequest/LeaveRequestApproverDto.cs
Normal file
28
BMA.EHR.Leave/DTOs/LeaveRequest/LeaveRequestApproverDto.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using Newtonsoft.Json;
|
||||
|
||||
namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
|
||||
{
|
||||
public class LeaveRequestApproverDto
|
||||
{
|
||||
[JsonProperty("seq")]
|
||||
public int Seq { get; set; } = 0;
|
||||
|
||||
[JsonProperty("prefix")]
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("firstName")]
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("lastName")]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("positionName")]
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("profileId")]
|
||||
public Guid ProfileId { get; set; } = Guid.Empty;
|
||||
|
||||
[JsonProperty("keycloakId")]
|
||||
public Guid KeycloakId { get; set; } = Guid.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue