using System;
using System.Collections.Generic;
using System.Linq;

namespace MileageTraker.Web.ViewModels
{
	public class EmployeeMileageItem
	{
		public string EmployeeName { 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(); } }
	}
}