Init Git
This commit is contained in:
16
AMREZ.EOP.Domain/Entities/HumanResources/Department.cs
Normal file
16
AMREZ.EOP.Domain/Entities/HumanResources/Department.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using AMREZ.EOP.Domain.Entities.Common;
|
||||
|
||||
namespace AMREZ.EOP.Domain.Entities.HumanResources;
|
||||
|
||||
public sealed class Department : BaseEntity
|
||||
{
|
||||
public Guid TenantId { get; set; }
|
||||
public string Code { get; set; } = default!;
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
public Guid? ParentDepartmentId { get; set; }
|
||||
public Department? Parent { get; set; }
|
||||
|
||||
public ICollection<Department> Children { get; set; } = new List<Department>();
|
||||
public ICollection<UserProfile> Profiles { get; set; } = new List<UserProfile>();
|
||||
}
|
||||
Reference in New Issue
Block a user