24 lines
671 B
C#
24 lines
671 B
C#
namespace PARR.API.Settings
|
|
{
|
|
public class MqSettings
|
|
{
|
|
public MqGenerateTemplates GenerateTemplates { get; set; } = new MqGenerateTemplates();
|
|
}
|
|
|
|
public class MqGenerateTemplates : 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 interface IMqSettings
|
|
{
|
|
string HostName { get; set; }
|
|
string QueueName { get; set; }
|
|
string User { get; set; }
|
|
string Password { get; set; }
|
|
}
|
|
}
|