Files
parr_api/PARR.JobAutoControl/Settings/MqSettings.cs

29 lines
820 B
C#

using PARR.BLL.Contracts.Interfaces;
namespace PARR.JobAutoControl.Settings
{
internal class MqSettings
{
public Generator Generator { get; set; }
public Activator Activator { get; set; }
}
internal class Generator : 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;
}
internal class Activator : 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;
}
}