22 lines
819 B
C#
22 lines
819 B
C#
namespace TrafagSalesExporter.Models;
|
|
|
|
public class ExportSettings
|
|
{
|
|
public int Id { get; set; }
|
|
public string DateFilter { get; set; } = "2025-01-01";
|
|
public int TimerHour { get; set; } = 3;
|
|
public int TimerMinute { get; set; }
|
|
public bool TimerEnabled { get; set; } = true;
|
|
public bool DebugLoggingEnabled { get; set; }
|
|
public string LocalSiteExportFolder { get; set; } = string.Empty;
|
|
public string LocalConsolidatedExportFolder { get; set; } = string.Empty;
|
|
public string ExchangeRateDateField { get; set; } = ExchangeRateDateFields.PostingDate;
|
|
}
|
|
|
|
public static class ExchangeRateDateFields
|
|
{
|
|
public const string PostingDate = nameof(PostingDate);
|
|
public const string InvoiceDate = nameof(InvoiceDate);
|
|
public const string ExtractionDate = nameof(ExtractionDate);
|
|
}
|