This commit is contained in:
2012-11-30 21:35:06 -05:00
commit 3963d6363a
346 changed files with 351799 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Linq;
using System.Collections.Generic;
using MileageTraker.Web.Models;
namespace MileageTraker.Web.ViewModels
{
public class VehicleMileageItem
{
public string VehicleId { get; set; }
public int Miles { get; set; }
public double GasPurchased { get; set; }
public string Prog { get; set; }
public IEnumerable<Tuple<Log, Log>> LogPairs { get; set; }
public int TripCount { get { return LogPairs.Count(); } }
}
}