Init Git
This commit is contained in:
26
AMREZ.EOP.Domain/Entities/HumanResources/UserProfile.cs
Normal file
26
AMREZ.EOP.Domain/Entities/HumanResources/UserProfile.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using AMREZ.EOP.Domain.Entities.Authentications;
|
||||
using AMREZ.EOP.Domain.Entities.Common;
|
||||
using AMREZ.EOP.Domain.Shared.HumanResources;
|
||||
|
||||
namespace AMREZ.EOP.Domain.Entities.HumanResources;
|
||||
|
||||
public sealed class UserProfile : BaseEntity
|
||||
{
|
||||
public Guid TenantId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
public string FirstName { get; set; } = default!;
|
||||
public string LastName { get; set; } = default!;
|
||||
public string? MiddleName { get; set; }
|
||||
public string? Nickname { get; set; }
|
||||
|
||||
public DateTime? DateOfBirth { get; set; }
|
||||
public Gender? Gender { get; set; }
|
||||
|
||||
public User User { get; set; } = default!;
|
||||
|
||||
public ICollection<Employment> Employments { get; set; } = new List<Employment>();
|
||||
public ICollection<EmployeeAddress> Addresses { get; set; } = new List<EmployeeAddress>();
|
||||
public ICollection<EmergencyContact> EmergencyContacts { get; set; } = new List<EmergencyContact>();
|
||||
public ICollection<EmployeeBankAccount> BankAccounts { get; set; } = new List<EmployeeBankAccount>();
|
||||
}
|
||||
Reference in New Issue
Block a user