123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- using Microsoft.AspNetCore.Http;
- using MTWorkHR.Core.Global;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MTWorkHR.Application.Models
- {
- public class UserDto
- {
- public string? Id { get; set; }
-
- [Required]
- public string FirstName { get; set; }
- public DateTime DateOfBirth { get; set; }
-
- public string IdNumber { get; set; }
- public string LastName { get; set; }
- [Required]
- [EmailAddress]
- public string Email { get; set; }
- public string PassportNumber { get; set; }
- public DateTime? PassportExpiryDate { get; set; }
- public string? FavoriteName { get; set; }
- public string PhoneNumber { get; set; }
- public string? LinkedInLink { get; set; }
- [Required]
- public UserTypeEnum UserType { get; set; }
- [Required]
- [MinLength(6)]
- public string UserName { get; set; }
- public string? Password { get; set; }
-
- public int? QualificationId { get; set; }
- public int? UniversityId { get; set; }
- public int? JobTitleId { get; set; }
- public int? IndustryId { get; set; }
- public int? CountryId { get; set; }
- public int? NationalityId { get; set; }
- public string? QualificationName { get; set; }
- public string? UniversityName { get; set; }
- public string? JobTitleName { get; set; }
- public string? IndustryName { get; set; }
- public string? CountryName { get; set; }
- public decimal TaxNumber { get; set; }
- public decimal IncomeTaxValue { get; set; }
- public string? Position { get; set; }
- public long? CompanyId { get; set; }
- public bool IsCheckedIn { get; set; }
- public bool IsCheckedOut { 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; }
- //Company attach
- public FormFile? CommercialRegAttach { get; set; }
- public FormFile? TaxDeclarationAttach { get; set; }
- public FormFile? IdAttach { get; set; }
- public IList<UserRoleDto>? UserRoles { get; set; }
- public IList<AttachmentDto>? UserAttachments { get; set; }
- public UserAddressDto? UserAddress{ get; set; }
- }
- }
|