22 lines
577 B
C#
22 lines
577 B
C#
using PARR.Domain.Settings;
|
|
|
|
namespace PARR.NextRun.Settings
|
|
{
|
|
internal class WorkerSettings
|
|
{
|
|
public TimeSpan RepeatEvery { get; set; }
|
|
|
|
public MqSettings? MqSettings { get; set; }
|
|
}
|
|
|
|
internal class MqSettings : IMqSettings
|
|
{
|
|
public string HostName { get; init; } = string.Empty;
|
|
public string QueueName { get; init; } = string.Empty;
|
|
public string User { get; init; } = string.Empty;
|
|
public string Password { get; init; } = string.Empty;
|
|
public ushort? PrefetchCount { get; init; } = 0;
|
|
}
|
|
|
|
}
|