using PARR.Domain.Settings;

namespace PARR.TemplateUpdater.Settings
{
    internal class MqSettings
    {
        public TemplatesUpdaterMq TemplatesUpdater { get; set; } = new TemplatesUpdaterMq();
    }

    internal class TemplatesUpdaterMq : 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;
    }
}
