25 lines
998 B
C#
25 lines
998 B
C#
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 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>();
|
|
} |