Init Git
This commit is contained in:
25
AMREZ.EOP.Domain/Entities/HumanResources/Employment.cs
Normal file
25
AMREZ.EOP.Domain/Entities/HumanResources/Employment.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user