hrms-api-backend/BMA.EHR.Application/Responses/Leaves/GetProfileLeaveByKeycloakDto.cs
Suphonchai Phoonsawat 2240c383c7
Some checks failed
release-dev / release-dev (push) Failing after 12s
add ข้อมูลเพิ่มจาก api leave-profile #1476
2025-05-02 20:49:59 +07:00

46 lines
2 KiB
C#

namespace BMA.EHR.Application.Responses.Leaves
{
public class GetProfileLeaveByKeycloakDto
{
public DateTime BirthDate { get; set; }
public DateTime RetireDate { get; set; }
public string GovAge { get; set; } = string.Empty;
public string Age { get; set; } = string.Empty;
public DateTime DateAppoint { get; set; }
public int Amount { get; set; }
public string? TelephoneNumber { get; set; } = string.Empty;
public string PositionName { get; set; } = string.Empty;
public string PosLevel { get; set; } = string.Empty;
public string PosType { get; set; } = string.Empty;
public string CurrentAddress { get; set; } = string.Empty;
public string Oc { get; set; } = string.Empty;
public string Root { get; set; } = string.Empty;
public string? Child1 { get; set; }
public string? Child2 { get; set; }
public string? Child3 { get; set; }
public string? Child4 { get; set; }
public List<ProfileLeavePosition> Positions { get; set; } = new();
public List<ProfileLeaveEducation> Educations { get; set; } = new();
}
public class ProfileLeavePosition
{
public string? PositionName { get; set; } = string.Empty;
public DateTime Date { get; set; }
public string? PositionType { get; set; } = string.Empty;
public string? PositionLevel { get; set; } = string.Empty;
public string? OrgRoot { get; set; } = string.Empty;
public string? OrgChild1 { get; set; } = string.Empty;
public string? OrgChild2 { get; set; } = string.Empty;
public string? OrgChild3 { get; set; } = string.Empty;
public string? OrgChild4 { get; set; } = string.Empty;
}
public class ProfileLeaveEducation
{
public string EducationLevel { get; set; } = string.Empty;
public string Institute { get; set; } = string.Empty;
public string? Country { get; set; } = string.Empty;
public DateTime? FinishDate { get; set; }
}
}