Files
parr_api/PARR.EsppTemplateSync/Settings/GlobalSettings.cs

27 lines
778 B
C#
Raw Normal View History

using PARR.BLL.Contracts.Interfaces;
namespace PARR.EsppTemplateSync.Settings
{
internal class GlobalSettings
2023-08-31 12:04:05 +10:00
{
public MqSettings? MqSettings { get; set; }
2023-08-31 12:04:05 +10:00
public StorageSettings? StorageSettings { get; set; }
2023-09-20 11:52:30 +10:00
public List<string>? IgnoreTemplateFields { get; set; }
public string ParsingSeparator { get; set; } = "<|>";
2023-08-31 12:04:05 +10:00
}
internal class MqSettings : IMqSettings
2023-08-31 12:04:05 +10:00
{
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;
2023-08-31 12:04:05 +10:00
}
internal class StorageSettings
{
public int CheckIntervalSeconds { get; set; } = 5;
}
}