BuildFeed/Models/ViewModel/StatsPage.cs

21 lines
538 B
C#
Raw Normal View History

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; }
}
}