Allow users to set their own reminder urgency threshold
This commit is contained in:
10
Models/Reminder/ReminderConfig.cs
Normal file
10
Models/Reminder/ReminderConfig.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace CarCareTracker.Models
|
||||
{
|
||||
public class ReminderUrgencyConfig
|
||||
{
|
||||
public int UrgentDays { get; set; } = 30;
|
||||
public int VeryUrgentDays { get; set; } = 7;
|
||||
public int UrgentDistance { get; set; } = 100;
|
||||
public int VeryUrgentDistance { get; set; } = 50;
|
||||
}
|
||||
}
|
||||
@@ -19,6 +19,7 @@
|
||||
public string PreferredGasUnit { get; set; } = string.Empty;
|
||||
public string PreferredGasMileageUnit { get; set; } = string.Empty;
|
||||
public List<UserColumnPreference> UserColumnPreferences { get; set; } = new List<UserColumnPreference>();
|
||||
public ReminderUrgencyConfig ReminderUrgencyConfig { get; set; } = new ReminderUrgencyConfig();
|
||||
public string UserNameHash { get; set; }
|
||||
public string UserPasswordHash { get; set;}
|
||||
public string UserLanguage { get; set; } = "en_US";
|
||||
|
||||
Reference in New Issue
Block a user