hrms-api-backend/BMA.EHR.Application/Responses/Leaves/GetProfileLeaveByKeycloakDto.cs

56 lines
2.5 KiB
C#

namespace BMA.EHR.Application.Responses.Leaves
{
public class GetProfileLeaveByKeycloakDto
{
public string ProfileType { get; set; }
public string Prefix { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string CitizenId { get; set; }
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 DateTime DateCurrent { get; set; }
public int? Amount { get; set; } = 0;
public string? TelephoneNumber { get; set; } = string.Empty;
public string Position { get; set; } = string.Empty;
public string PosLevel { get; set; } = string.Empty;
public string PosType { get; set; } = string.Empty;
public string? PositionLeaveName { get; set; }
public string? PosExecutiveName { get; set; }
public string CurrentAddress { get; set; } = string.Empty;
public string Oc { get; set; } = string.Empty;
public bool isCommission { get; set; } = false;
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 DateStart { get; set; }
public DateTime DateEnd { 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; }
}
}