Added sticker viewModel and some code cleanup.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2025-01-12 12:28:14 -07:00
parent fdbb325611
commit c6f49bafca
3 changed files with 57 additions and 41 deletions

View File

@@ -0,0 +1,8 @@
namespace CarCareTracker.Models
{
public class StickerViewModel
{
public Vehicle VehicleData { get; set; } = new Vehicle();
public VehicleRecords VehicleRecords { get; set; } = new VehicleRecords();
}
}

View File

@@ -8,5 +8,9 @@
public List<GasRecord> GasRecords { get; set; } = new List<GasRecord>();
public List<TaxRecord> TaxRecords { get; set; } = new List<TaxRecord>();
public List<OdometerRecord> OdometerRecords { get; set; } = new List<OdometerRecord>();
public List<ReminderRecord> ReminderRecords { get; set; } = new List<ReminderRecord>();
public List<PlanRecord> PlanRecords { get; set; } = new List<PlanRecord>();
public List<Note> NoteRecords { get; set; } = new List<Note>();
public List<SupplyRecord> SupplyRecords { get; set; } = new List<SupplyRecord>();
}
}