25 lines
708 B
C#
25 lines
708 B
C#
namespace PARR.BLL.Settings
|
|
{
|
|
public class StorageSettings
|
|
{
|
|
/// <summary>
|
|
/// Путь к хранилищу
|
|
/// </summary>
|
|
public string StoragePath { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Настройки хранилища загрузки шаблонов ЕСПП
|
|
/// </summary>
|
|
public StorageSettingsEsspTemplates? EsppTemplates { get; set; }
|
|
}
|
|
|
|
public class StorageSettingsEsspTemplates
|
|
{
|
|
public string[] TemplatePath => new string[] { "espp-templates" };
|
|
|
|
public string[] AllowedExtensions { get; set; } = Array.Empty<string>();
|
|
|
|
public int MaxFileSizeMb { get; set; }
|
|
}
|
|
}
|