hrms-api-backend/BMA.EHR.Application/Responses/Profiles/GetProfileByKeycloakIdDto.cs

163 lines
5 KiB
C#
Raw Permalink Normal View History

2024-05-30 09:32:34 +07:00
using BMA.EHR.Domain.Models.HR;
namespace BMA.EHR.Application.Responses.Profiles
{
public class GetProfileByKeycloakIdDto
{
public Guid Id { 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; } = DateTime.MinValue;
public DateTime? DateStart { get; set; } = DateTime.MinValue;
public DateTime? DateAppoint { get; set; } = DateTime.MinValue;
public string? Position { get; set; }
public Guid? OcId { get; set; }
2024-11-18 18:43:46 +07:00
public string? PosType { get; set; }
2024-05-30 09:32:34 +07:00
2024-11-18 18:43:46 +07:00
public string? PosLevel { get; set; }
2024-05-30 09:32:34 +07:00
public string? Oc { get; set; }
public ProfileSalaryResult? ProfileSalary { get; set; }
2024-05-30 09:32:34 +07:00
public ProfileInsignia? ProfileInsignia { get; set; }
public Guid? Keycloak { get; set; }
2024-06-20 13:37:25 +07:00
public string? PosNo { get; set; }
2024-09-03 15:27:05 +07:00
public string? PositionLevel { get; set; }
2024-06-20 13:37:25 +07:00
public string? PosNoEmployee { get; set; }
public string? Gender { get; set; }
2024-07-10 12:04:09 +07:00
public string? ProfileType { get; set; }
2024-08-30 14:05:58 +07:00
public bool? IsLeave { get; set; }
public bool? IsProbation { get; set; }
2024-11-11 20:46:45 +07:00
public string? Root { get; set; }
public string? Child1 { get; set; }
public string? Child2 { get; set; }
public string? Child3 { get; set; }
public string? Child4 { get; set; }
2024-11-18 18:43:46 +07:00
public Guid? RootId { get; set; }
public Guid? Child1Id { get; set; }
public Guid? Child2Id { get; set; }
public Guid? Child3Id { get; set; }
public Guid? Child4Id { get; set; }
2025-02-05 17:48:58 +07:00
public Guid? RootDnaId { get; set; }
public Guid? Child1DnaId { get; set; }
public Guid? Child2DnaId { get; set; }
public Guid? Child3DnaId { get; set; }
public Guid? Child4DnaId { get; set; }
public double? Amount { get; set; }
2024-11-18 18:43:46 +07:00
public double? PositionSalaryAmount { get; set; }
public string? Commander { get; set; }
public Guid? CommanderId { get; set; }
public Guid? CommanderKeycloak { get; set; }
2025-03-31 10:59:06 +07:00
public string? TelephoneNumber { get; set; }
public string? CurrentAddress { get; set; }
public string? CurrentSubDistrict { get; set; }
public string? CurrentDistrict { get; set; }
public string? CurrentProvince { get; set; }
public string? CurrentZipCode { get; set; }
public string? PositionLeaveName { get; set; }
public string? PosExecutiveName { get; set; }
public string? CommanderPositionName { get; set; } = string.Empty;
2024-05-30 09:32:34 +07:00
}
public class PosLevel
{
public Guid Id { get; set; }
public DateTime CreatedAt { get; set; }
public Guid CreatedUserId { get; set; }
public DateTime LastUpdatedAt { get; set; }
public Guid LastUpdateUserId { get; set; }
public string CreatedFullName { get; set; }
public string LastUpdateFullName { get; set; }
public string PosLevelName { get; set; }
public string PosTypeId { get; set; }
}
public class PosType
{
public Guid Id { get; set; }
public DateTime CreatedAt { get; set; }
public Guid CreatedUserId { get; set; }
public DateTime LastUpdatedAt { get; set; }
public Guid LastUpdateUserId { get; set; }
public string CreatedFullName { get; set; }
public string LastUpdateFullName { get; set; }
public string PosTypeName { get; set; }
}
public class ProfileSalaryResult
{
public Guid? Id { get; set; }
public DateTime? CreatedAt { get; set; }
public Guid? CreatedUserId { get; set; }
public DateTime? LastUpdatedAt { get; set; }
public Guid? LastUpdateUserId { get; set; }
public string? CreatedFullName { get; set; }
public string? LastUpdateFullName { get; set; }
2024-12-25 22:57:15 +07:00
public string? PosNo { get; set; } = string.Empty;
public double? Amount { get; set; }
public double? PositionSalaryAmount { get; set; }
public double? MouthSalaryAmount { get; set; }
2024-12-25 22:57:15 +07:00
public int? Order { get; set; }
public DateTime? Date { get; set; }
2024-12-25 22:57:15 +07:00
public string? PositionLevel { get; set; } = string.Empty;
2024-12-25 22:57:15 +07:00
public string? PositionType { get; set; } = string.Empty;
2024-12-25 22:57:15 +07:00
public string? Position { get; set; } = string.Empty;
}
public class ProfileInsignia
{
public Guid? Id { get; set; }
public DateTime? CreatedAt { get; set; }
public Guid? CreatedUserId { get; set; }
public DateTime? LastUpdatedAt { get; set; }
public Guid? LastUpdateUserId { get; set; }
public string? CreatedFullName { get; set; }
public string? LastUpdateFullName { get; set; }
public int? Year { get; set; }
public Guid? InsigniaId { get; set; }
2024-11-18 18:43:46 +07:00
public string? Insignia { get; set; }
}
2024-05-30 09:32:34 +07:00
}