11 lines
368 B
C#
11 lines
368 B
C#
using AMREZ.EOP.Domain.Entities.Common;
|
|
|
|
namespace AMREZ.EOP.Domain.Entities.Authentications;
|
|
|
|
public sealed class Permission : BaseEntity
|
|
{
|
|
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>();
|
|
} |