Files
Thanakarn Klangkasame 563a341a99 Add Login Module
2025-10-02 11:18:44 +07:00

24 lines
810 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 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; }
}