Replace more Employee with Driver

This commit is contained in:
2013-02-11 14:45:06 -05:00
parent e6d911cb05
commit 36e277a442
8 changed files with 12 additions and 14 deletions
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace MileageTraker.Web.ViewModels
{
public class DriverMileageItem
{
public string DriverName { get; set; }
public int Miles { get; set; }
public double GasPurchased { get; set; }
public IEnumerable<Tuple<Models.Log, Models.Log>> LogPairs { get; set; }
public int TripCount { get { return LogPairs.Count(); } }
}
}