2017-05-22 23:59:31 +00:00
|
|
|
|
using NadekoBot.Services.Database.Models;
|
|
|
|
|
|
2017-07-17 19:42:36 +00:00
|
|
|
|
namespace NadekoBot.Modules.Permissions.Common
|
2017-05-22 23:59:31 +00:00
|
|
|
|
{
|
|
|
|
|
public class OldPermissionCache
|
|
|
|
|
{
|
|
|
|
|
public string PermRole { get; set; }
|
|
|
|
|
public bool Verbose { get; set; } = true;
|
|
|
|
|
public Permission RootPermission { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class PermissionCache
|
|
|
|
|
{
|
|
|
|
|
public string PermRole { get; set; }
|
|
|
|
|
public bool Verbose { get; set; } = true;
|
|
|
|
|
public PermissionsCollection<Permissionv2> Permissions { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|