2020-04-08 00:22:04 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using zero.Core.Entities;
|
2020-04-27 15:49:14 +02:00
|
|
|
using zero.Core.Identity;
|
2020-04-05 00:29:26 +02:00
|
|
|
|
|
|
|
|
namespace zero.Core
|
|
|
|
|
{
|
|
|
|
|
public class ZeroOptions
|
|
|
|
|
{
|
2020-04-05 01:19:42 +02:00
|
|
|
public string BackofficePath { get; set; }
|
|
|
|
|
|
2020-04-05 00:29:26 +02:00
|
|
|
public SectionCollection Sections { get; private set; } = new SectionCollection();
|
2020-04-08 00:22:04 +02:00
|
|
|
|
2020-04-29 13:18:53 +02:00
|
|
|
public ListCollections Lists { get; private set; } = new ListCollections();
|
|
|
|
|
|
2020-04-08 00:22:04 +02:00
|
|
|
public IList<SettingsGroup> SettingsAreas { get; private set; } = new List<SettingsGroup>();
|
2020-04-27 15:49:14 +02:00
|
|
|
|
|
|
|
|
public ZeroAuthorizationOptions Authorization { get; private set; } = new ZeroAuthorizationOptions();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class ZeroAuthorizationOptions
|
|
|
|
|
{
|
|
|
|
|
public IList<PermissionCollection> Permissions { get; private set; } = new List<PermissionCollection>();
|
2020-04-05 00:29:26 +02:00
|
|
|
}
|
|
|
|
|
}
|