using PARR.BLL.Contracts.Interfaces;

namespace PARR.EsppTemplateSync.Settings
{
    internal class GlobalSettings
    {
        public MqSettings? MqSettings { get; set; }

        public StorageSettings? StorageSettings { get; set; }
        //public List<string>? IgnoreTemplateFields { get; set; }
        public string ParsingSeparator { get; set; } = "<|>";
    }

    internal class MqSettings : 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 ushort? PrefetchCount { get; set; } = 0;
    }

    internal class StorageSettings
    {
        public int CheckIntervalSeconds { get; set; } = 5;
    }
}
