using CoreModels.ModelsSecurity;
using ToolsModule.BindingModels;
using System.ComponentModel.DataAnnotations;
namespace SecurityBusinessLogic.BindingModels
{
///
/// Получение общих настроек системы
///
public class EnviromentSettingGetBindingModel : GetBindingModel
{
public string Key { get; set; }
}
///
/// Сохранение общих настроек системы
///
public class EnviromentSettingSetBindingModel : SetBindingModel, IEnviromentSettingModel
{
[Required(ErrorMessage = "required")]
public string Key { get; set; }
[Required(ErrorMessage = "required")]
public string Value { get; set; }
[Required(ErrorMessage = "required")]
public string Description { get; set; }
}
}