12 lines
449 B
C#
12 lines
449 B
C#
using AMREZ.EOP.Domain.Entities.Common;
|
|
|
|
namespace AMREZ.EOP.Domain.Entities.Authentications;
|
|
|
|
public sealed class Role : BaseEntity
|
|
{
|
|
public string Code { get; set; } = default!; // system code, unique per tenant
|
|
public string Name { get; set; } = default!;
|
|
|
|
public ICollection<UserRole> UserRoles { get; set; } = new List<UserRole>();
|
|
public ICollection<RolePermission> RolePermissions { get; set; } = new List<RolePermission>();
|
|
} |