mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
namespace CarCareTracker.Models
|
|
{
|
|
public class ReminderRecordViewModel
|
|
{
|
|
public int Id { get; set; }
|
|
public int VehicleId { get; set; }
|
|
public DateTime Date { get; set; }
|
|
public int Mileage { get; set; }
|
|
public int DueDays { get; set; }
|
|
public int DueMileage { get; set; }
|
|
public string Description { get; set; }
|
|
public string Notes { get; set; }
|
|
/// <summary>
|
|
/// The metric the user selected to calculate the urgency of this reminder.
|
|
/// </summary>
|
|
public ReminderMetric UserMetric { get; set; } = ReminderMetric.Date;
|
|
/// <summary>
|
|
/// Reason why this reminder is urgent
|
|
/// </summary>
|
|
public ReminderMetric Metric { get; set; } = ReminderMetric.Date;
|
|
public ReminderUrgency Urgency { get; set; } = ReminderUrgency.NotUrgent;
|
|
/// <summary>
|
|
/// Recurring Reminders
|
|
/// </summary>
|
|
public bool IsRecurring { get; set; } = false;
|
|
public List<string> Tags { get; set; } = new List<string>();
|
|
}
|
|
}
|