2023-09-22 09:08:13 +10:00
|
|
|
|
using PARR.BLL.Contracts.Interfaces;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.EsppTemplateSync.Settings
|
2023-08-28 16:03:39 +10:00
|
|
|
|
{
|
|
|
|
|
|
internal class GlobalSettings
|
2023-08-31 12:04:05 +10:00
|
|
|
|
{
|
2023-09-01 11:47:39 +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; }
|
2023-09-20 17:07:17 +10:00
|
|
|
|
public string ParsingSeparator { get; set; } = "<|>";
|
2023-08-31 12:04:05 +10:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-09-22 09:08:13 +10:00
|
|
|
|
internal class MqSettings : IMqSettings
|
2023-08-31 12:04:05 +10:00
|
|
|
|
{
|
2023-09-22 09:08:13 +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
|
2023-08-28 16:03:39 +10:00
|
|
|
|
{
|
|
|
|
|
|
public int CheckIntervalSeconds { get; set; } = 5;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|