You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
801 B
26 lines
801 B
namespace Easy.AuthorityManagement.Clean.Domain.Entities;
|
|
|
|
/// <summary>
|
|
/// 授权许可
|
|
/// </summary>
|
|
public partial class PermissionGrant : AggregateRoot<long>
|
|
{
|
|
public PermissionGrant(long id, string permissionName, string providerName, long providerKey) : base(id)
|
|
{
|
|
ProviderName = providerName;
|
|
PermissionName = permissionName;
|
|
ProviderKey = providerKey;
|
|
}
|
|
/// <summary>
|
|
/// R = 角色 ,UO开启角色上没有的 UD禁用角色上的
|
|
/// </summary>
|
|
public string ProviderName { get; set; }
|
|
/// <summary>
|
|
/// 权限名称 权限组_权限_子权限
|
|
/// </summary>
|
|
public string PermissionName { get; set; }
|
|
/// <summary>
|
|
/// 角色Id 或者 用户Id
|
|
/// </summary>
|
|
public long ProviderKey { get; set; }
|
|
}
|
|
|