using CoreModels.ModelsSecurity; using System.ComponentModel.DataAnnotations; using ToolsModule.ManagmentEntity; namespace SecurityContract.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; } } }