Init Git
This commit is contained in:
12
AMREZ.EOP.Domain/Entities/Authentications/Permission.cs
Normal file
12
AMREZ.EOP.Domain/Entities/Authentications/Permission.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using AMREZ.EOP.Domain.Entities.Common;
|
||||
|
||||
namespace AMREZ.EOP.Domain.Entities.Authentications;
|
||||
|
||||
public sealed class Permission : BaseEntity
|
||||
{
|
||||
public Guid TenantId { get; set; }
|
||||
public string Code { get; set; } = default!; // e.g. "auth:session:read"
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
public ICollection<RolePermission> RolePermissions { get; set; } = new List<RolePermission>();
|
||||
}
|
||||
Reference in New Issue
Block a user