mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-11 13:32:52 -06:00
26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
namespace CarCareTracker.Models
|
|
{
|
|
public class VehicleViewModel
|
|
{
|
|
public int Id { get; set; }
|
|
public string ImageLocation { get; set; } = "/defaults/noimage.png";
|
|
public int Year { get; set; }
|
|
public string Make { get; set; }
|
|
public string Model { get; set; }
|
|
public string LicensePlate { get; set; }
|
|
public string SoldDate { get; set; }
|
|
public bool IsElectric { get; set; } = false;
|
|
public bool IsDiesel { get; set; } = false;
|
|
public bool UseHours { get; set; } = false;
|
|
public List<ExtraField> ExtraFields { get; set; } = new List<ExtraField>();
|
|
public List<string> Tags { get; set; } = new List<string>();
|
|
//Dashboard Metric Attributes
|
|
public List<DashboardMetric> DashboardMetrics { get; set; } = new List<DashboardMetric>();
|
|
public int LastReportedMileage { get; set; }
|
|
public bool HasReminders { get; set; } = false;
|
|
public decimal CostPerMile { get; set; }
|
|
public decimal TotalCost { get; set; }
|
|
public string DistanceUnit { get; set; }
|
|
}
|
|
}
|