namespace Easy.AuthorityManagement.Clean.Domain.Entities; /// /// 授权许可 /// public partial class PermissionGrant : AggregateRoot { public PermissionGrant(long id, string permissionName, string providerName, long providerKey) : base(id) { ProviderName = providerName; PermissionName = permissionName; ProviderKey = providerKey; } /// /// R = 角色 ,UO开启角色上没有的 UD禁用角色上的 /// public string ProviderName { get; set; } /// /// 权限名称 权限组_权限_子权限 /// public string PermissionName { get; set; } /// /// 角色Id 或者 用户Id /// public long ProviderKey { get; set; } }