123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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]
- [EmailAddress]
- public string Email { get; set; }
- [Required]
- public string FirstName { get; set; }
- public string LastName { 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 string? FavoriteName { get; set; }
- public string PassportNumber { get; set; }
- public int? QualificationId { get; set; }
- public string? University { get; set; }
- public string? JobTitle { get; set; }
- public decimal TaxNumber { get; set; }
- public decimal IncomeTaxValue { get; set; }
- public IList<UserRoleDto>? UserRoles { get; set; }
- public IList<UserAttachmentDto>? UserAttachments{ get; set; }
- public UserAddressDto? UserAddress{ get; set; }
- }
- }
|