Files
amrez-nova-eop-services-api/AMREZ.EOP.Domain/Entities/HumanResources/Employment.cs
Thanakarn Klangkasame 92e614674c Init Git
2025-09-30 11:01:02 +07:00

25 lines
849 B
C#

using AMREZ.EOP.Domain.Entities.Common;
using AMREZ.EOP.Domain.Shared.HumanResources;
namespace AMREZ.EOP.Domain.Entities.HumanResources;
public sealed class Employment : BaseEntity
{
public Guid TenantId { get; set; }
public Guid UserProfileId { get; set; }
public EmploymentType EmploymentType { get; set; } = EmploymentType.Permanent;
public DateTime StartDate { get; set; }
public DateTime? EndDate { get; set; }
public Guid? DepartmentId { get; set; }
public Guid? PositionId { get; set; }
public Guid? ManagerUserId { get; set; } // references Authentications.User
public string? WorkEmail { get; set; }
public string? WorkPhone { get; set; }
public UserProfile UserProfile { get; set; } = default!;
public Department? Department { get; set; }
public Position? Position { get; set; }
}