feat(api): обновлен AppInWorkController под новый респонс, валидация для галки IsAutoDistributionEnabled
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user