BuildFeed/Models/ViewModel/StatsPage.cs
Thomas Hounsell 7ab6fc81a4 Add stats page
Revisit this code later, because it sucks balls.
2015-01-07 11:27:24 +00:00

21 lines
538 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BuildFeed.Models.ViewModel
{
public class StatsPage
{
public IEnumerable<MonthCount> AdditionsByMonth { get; set; }
public IEnumerable<MonthCount> CompilesByMonth { get; set; }
public IEnumerable<Tuple<string, int>> BuildsByLab { get; set; }
}
public struct MonthCount
{
public int Year { get; set; }
public int Month { get; set; }
public int Count { get; set; }
}
}