1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using Microsoft.AspNetCore.Identity;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MTWorkHR.Identity.Entities
- {
- public class ApplicationUser : IdentityUser
- {
- public string FirstName { get; set; }
- public string LastName { get; set; }
- public int UserType { 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 string? ManagerId { get; set; }
- [Column(TypeName = "decimal(18,2)")]
- public decimal? TaxNumber { get; set; }
- [Column(TypeName = "decimal(18,2)")]
- public decimal? IncomeTaxValue { get; set; }
- [ForeignKey("ManagerId")]
- public ApplicationUser Manager { get; set; }
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- public bool IsStopped { get; set; }
- public bool IsDeleted { get; set; }
- public string? DeleteUserId { get; set; }
- public ICollection<ApplicationRole> UserRoles { get; set; }
- public ICollection<UserAttachment> UserAttachments { get; set; }
- public UserAddress UserAddress { get; set; }
- }
- }
|