Initial
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using MileageTraker.Web.Models;
|
||||
|
||||
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<Log, Log>> LogPairs { get; set; }
|
||||
public int TripCount { get { return LogPairs.Count(); } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user