CompanyUserDto.cs 991 B

12345678910111213141516171819202122232425262728293031323334353637
  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. [Required]
  15. public string FirstName { get; set; }
  16. public string LastName { get; set; }
  17. public string IdNumber { get; set; }
  18. [Required]
  19. [EmailAddress]
  20. public string Email { get; set; }
  21. public string PassportNumber { get; set; }
  22. public string PhoneNumber { get; set; }
  23. public UserTypeEnum? UserType { get; set; }
  24. public string? Password { get; set; }
  25. public decimal? TaxNumber { get; set; }
  26. public IList<AttachmentDto>? UserAttachments{ get; set; }
  27. public UserAddressDto? UserAddress{ get; set; }
  28. }
  29. }