This commit is contained in:
Thanakarn Klangkasame
2025-09-30 11:01:02 +07:00
commit 92e614674c
182 changed files with 9596 additions and 0 deletions

View 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>();
}