2021-03-28 19:15:55 +04:00
|
|
|
|
using ModuleTools.BindingModels;
|
2021-03-26 20:09:52 +04:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace SecurityBusinessLogic.BindingModels
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение общих настроек системы
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class EnviromentSettingGetBindingModel : GetBindingModel
|
|
|
|
|
{
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение общих настроек системы
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class EnviromentSettingSetBindingModel : SetBindingModel
|
|
|
|
|
{
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public string Value { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|