CompanyUserDto.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using Microsoft.AspNetCore.Http;
  2. using MTWorkHR.Core.Global;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace MTWorkHR.Application.Models
  10. {
  11. public class CompanyUserDto
  12. {
  13. public string? Id { get; set; }
  14. public string? UserName { get; set; }
  15. [Required]
  16. public string FirstName { get; set; }
  17. public string LastName { get; set; }
  18. public string IdNumber { get; set; }
  19. [Required]
  20. [EmailAddress]
  21. public string Email { get; set; }
  22. public string PassportNumber { get; set; }
  23. public string PhoneNumber { get; set; }
  24. public UserTypeEnum? UserType { get; set; }
  25. public string? Password { get; set; }
  26. public decimal? TaxNumber { get; set; }
  27. public decimal? IncomeTaxValue { get; set; }
  28. public IList<AttachmentDto>? UserAttachments{ get; set; }
  29. public UserAddressDto? UserAddress{ get; set; }
  30. }
  31. }