more partial views and logic for reminder.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-06 21:32:11 -07:00
parent 206b053d27
commit b5f8d2d44e
7 changed files with 282 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
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 string Description { get; set; }
public string Notes { get; set; }
/// <summary>
/// Reason why this reminder is urgent
/// </summary>
public ReminderMetric Metric { get; set; } = ReminderMetric.Date;
public ReminderUrgency Urgency { get; set; } = ReminderUrgency.NotUrgent;
}
}