moved electric vehicle flag to vehicle level.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-07 14:31:04 -07:00
parent fb272c9c40
commit ecd2b83cf0
12 changed files with 64 additions and 37 deletions

View File

@@ -0,0 +1,8 @@
namespace CarCareTracker.Models
{
public class GasRecordInputContainer
{
public bool UseKwh { get; set; }
public GasRecordInput GasRecord { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace CarCareTracker.Models
{
public class GasRecordViewModelContainer
{
public bool UseKwh { get; set; }
public List<GasRecordViewModel> GasRecords { get; set; } = new List<GasRecordViewModel>();
}
}

View File

@@ -3,7 +3,6 @@
public class UserConfig
{
public bool UseDarkMode { get; set; }
public bool UsekWh { get; set; }
public bool EnableCsvImports { get; set; }
public bool UseMPG { get; set; }
public bool UseDescending { get; set; }

View File

@@ -8,5 +8,6 @@
public string Make { get; set; }
public string Model { get; set; }
public string LicensePlate { get; set; }
public bool IsElectric { get; set; } = false;
}
}