Merge branch 'develop' of github.com:Frappet/BMA-EHR-BackEnd into develop
This commit is contained in:
commit
ee2aa136b9
15 changed files with 1356 additions and 102 deletions
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
public class Competency
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string id { get; set; } = string.Empty;
|
||||
public string title { get; set; } = string.Empty;
|
||||
public string description { get; set; } = string.Empty;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,58 @@
|
|||
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; }
|
||||
|
||||
public PosType? PosType { get; set; }
|
||||
|
||||
public PosLevel? PosLevel { get; set; }
|
||||
|
||||
public string? Oc { get; set; }
|
||||
|
||||
public List<ProfileSalary> Salaries { get; set; } = new();
|
||||
|
||||
}
|
||||
|
||||
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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
namespace BMA.EHR.Application.Responses.Profiles
|
||||
{
|
||||
public class GetProfileByKeycloakIdResultDto
|
||||
{
|
||||
public string Message { get; set; } = string.Empty;
|
||||
|
||||
public int Status { get; set; } = -1;
|
||||
|
||||
public GetProfileByKeycloakIdDto? Result { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
public class SearchProfileResultDto
|
||||
{
|
||||
public string Messsage { get; set; } = string.Empty;
|
||||
public string Message { get; set; } = string.Empty;
|
||||
|
||||
public int Status { get; set; } = -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue