25 lines
656 B
C#
25 lines
656 B
C#
|
using ModelTools.BindingModels;
|
|||
|
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; }
|
|||
|
}
|
|||
|
}
|