28 lines
829 B
C#
28 lines
829 B
C#
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; } = "<|>";
|
|
public string TemplatePrefix { 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;
|
|
}
|
|
|
|
internal class StorageSettings
|
|
{
|
|
public int CheckIntervalSeconds { get; set; } = 5;
|
|
}
|
|
}
|