2022-03-18 12:47:34 +04:00
|
|
|
|
using CoreModels.ModelsSecurity;
|
2021-03-29 23:16:11 +04:00
|
|
|
|
using ModuleTools.BindingModels;
|
2021-03-26 20:09:52 +04:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace SecurityBusinessLogic.BindingModels
|
|
|
|
|
{
|
2022-03-18 12:57:40 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение общих настроек системы
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class EnviromentSettingGetBindingModel : GetBindingModel
|
2021-03-26 20:09:52 +04:00
|
|
|
|
{
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение общих настроек системы
|
|
|
|
|
/// </summary>
|
2022-03-18 12:47:34 +04:00
|
|
|
|
public class EnviromentSettingSetBindingModel : SetBindingModel, IEnviromentSettingModel
|
2021-03-26 20:09:52 +04:00
|
|
|
|
{
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public string Value { get; set; }
|
2021-03-28 20:56:32 +04:00
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public string Description { get; set; }
|
2021-03-26 20:09:52 +04:00
|
|
|
|
}
|
|
|
|
|
}
|