using System;
using System.Collections.Generic;
namespace IwbZero.Caching
{
///
/// Used to cache permissions of a role.
///
[Serializable]
public class IwbRolePermissionCacheItem
{
public const string CacheStoreName = "IwbAdminRolePermissions";
public long RoleId { get; set; }
public HashSet GrantedPermissions { get; set; }
public IwbRolePermissionCacheItem()
{
GrantedPermissions = new HashSet();
}
public IwbRolePermissionCacheItem(int roleId)
: this()
{
RoleId = roleId;
}
}
}