line-gestao-api/Services/NotificationOptions.cs

12 lines
474 B
C#

namespace line_gestao_api.Services;
public class NotificationOptions
{
public int CheckIntervalMinutes { get; set; } = 60;
public bool NotifyAllFutureDates { get; set; } = true;
// Limit how far ahead "A vencer" notifications can be generated.
// Prevents alerting contracts years in the future (e.g. 2028) when the system runs daily.
public int MaxFutureDays { get; set; } = 30;
public List<int> ReminderDays { get; set; } = new() { 30, 15, 7 };
}