Merge pull request #86 from hargata/Hargata/fuel.import

fix mapper.
This commit is contained in:
Hargata Softworks
2024-01-13 22:31:14 -07:00
committed by GitHub

View File

@@ -9,7 +9,7 @@ namespace CarCareTracker.MapProfile
{ {
Map(m => m.Date).Name(["date", "fuelup_date"]); Map(m => m.Date).Name(["date", "fuelup_date"]);
Map(m => m.Odometer).Name(["odometer"]); Map(m => m.Odometer).Name(["odometer"]);
Map(m => m.FuelConsumed).Name(["gallons", "liters", "litres", "consumption", "quantity", "fueleconomy"]); Map(m => m.FuelConsumed).Name(["gallons", "liters", "litres", "consumption", "quantity", "fueleconomy", "fuelconsumed"]);
Map(m => m.Cost).Name(["cost", "total cost", "totalcost", "total price"]); Map(m => m.Cost).Name(["cost", "total cost", "totalcost", "total price"]);
Map(m => m.Notes).Name("notes", "note"); Map(m => m.Notes).Name("notes", "note");
Map(m => m.Price).Name(["price"]); Map(m => m.Price).Name(["price"]);