feat(api): обновлен AppInWorkController под новый респонс, валидация для галки IsAutoDistributionEnabled

This commit is contained in:
Mikhail Trubnikov
2024-07-03 10:16:54 +10:00
parent cf5a465546
commit ff58a21cc5
11 changed files with 172 additions and 9 deletions

View File

@@ -5,6 +5,7 @@ namespace PARR.API.Settings
public class MqSettings
{
public MqGenerateTemplates GenerateTemplates { get; set; } = new MqGenerateTemplates();
public MqTemplateDistributor TemplateDistributor { get; set; } = new MqTemplateDistributor();
public MqStatistics Statistics { get; set; } = new MqStatistics();
}
@@ -16,6 +17,14 @@ namespace PARR.API.Settings
public string Password { get; set; } = string.Empty;
}
public class MqTemplateDistributor : IMqSettings
{
public string HostName { get; set; } = string.Empty;
public string QueueName { get; set; } = string.Empty;
public string User { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
}
public class MqStatistics
{
public StatMqAuth StatMqAuth { get; set; } = new StatMqAuth();