|
@@ -12,11 +12,11 @@ namespace MTWorkHR.Application.Models
|
|
public class UserDto
|
|
public class UserDto
|
|
{
|
|
{
|
|
public string? Id { get; set; }
|
|
public string? Id { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
[Required]
|
|
[Required]
|
|
public string FirstName { get; set; }
|
|
public string FirstName { get; set; }
|
|
public DateTime DateOfBirth { get; set; }
|
|
public DateTime DateOfBirth { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
public string IdNumber { get; set; }
|
|
public string IdNumber { get; set; }
|
|
public string LastName { get; set; }
|
|
public string LastName { get; set; }
|
|
[Required]
|
|
[Required]
|
|
@@ -36,7 +36,7 @@ namespace MTWorkHR.Application.Models
|
|
[MinLength(6)]
|
|
[MinLength(6)]
|
|
public string UserName { get; set; }
|
|
public string UserName { get; set; }
|
|
public string? Password { get; set; }
|
|
public string? Password { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
public int? QualificationId { get; set; }
|
|
public int? QualificationId { get; set; }
|
|
public int? UniversityId { get; set; }
|
|
public int? UniversityId { get; set; }
|
|
public int? JobTitleId { get; set; }
|
|
public int? JobTitleId { get; set; }
|
|
@@ -56,19 +56,19 @@ namespace MTWorkHR.Application.Models
|
|
public bool IsCheckedIn { get; set; }
|
|
public bool IsCheckedIn { get; set; }
|
|
public bool IsCheckedOut { get; set; }
|
|
public bool IsCheckedOut { get; set; }
|
|
public string? ProfileImagePath { get; set; }
|
|
public string? ProfileImagePath { get; set; }
|
|
- public FormFile? ProfileImage { get; set; }
|
|
|
|
- public FormFile? CVAttach { get; set; }
|
|
|
|
- public FormFile? PassportAttach { get; set; }
|
|
|
|
- public FormFile? EduCertificateAttach { get; set; }
|
|
|
|
- public FormFile? ExperienceCertificateAttach { get; set; }
|
|
|
|
- public FormFile? ProfCertificateAttach { get; set; }
|
|
|
|
|
|
+ public IFormFile? ProfileImage { get; set; }
|
|
|
|
+ public IFormFile? CVAttach { get; set; }
|
|
|
|
+ public IFormFile? PassportAttach { get; set; }
|
|
|
|
+ public IFormFile? EduCertificateAttach { get; set; }
|
|
|
|
+ public IFormFile? ExperienceCertificateAttach { get; set; }
|
|
|
|
+ public IFormFile? ProfCertificateAttach { get; set; }
|
|
//Company attach
|
|
//Company attach
|
|
- public FormFile? CommercialRegAttach { get; set; }
|
|
|
|
- public FormFile? TaxDeclarationAttach { get; set; }
|
|
|
|
- public FormFile? IdAttach { get; set; }
|
|
|
|
|
|
+ public IFormFile? CommercialRegAttach { get; set; }
|
|
|
|
+ public IFormFile? TaxDeclarationAttach { get; set; }
|
|
|
|
+ public IFormFile? IdAttach { get; set; }
|
|
|
|
|
|
public IList<UserRoleDto>? UserRoles { get; set; }
|
|
public IList<UserRoleDto>? UserRoles { get; set; }
|
|
public IList<AttachmentDto>? UserAttachments { get; set; }
|
|
public IList<AttachmentDto>? UserAttachments { get; set; }
|
|
- public UserAddressDto? UserAddress{ get; set; }
|
|
|
|
|
|
+ public UserAddressDto? UserAddress { get; set; }
|
|
}
|
|
}
|
|
}
|
|
}
|