FlexitimeTracker/DataCenter_Windows/WindowsDataCenter/Interfaces/DailyLogs.cs
Chris.Watts90@outlook.com 59e27c2991 Flatten the TimeLogsList object.
put DayOfWeek and Day into the DailyLogs object to help flatten.
changed GetTimeLogList to return List<DailyLogs>.
#15
2017-02-15 16:51:19 +00:00

18 lines
445 B
C#

using System;
using System.Collections.Generic;
namespace Interfaces
{
public class DailyLogs
{
public DailyLogs()
{
Logs = new List<TimeLog>();
}
public DayOfWeek Day { get; set; }
public string DayOfWeek { get; set; }
public int LogCount { get { return Logs.Count; } }
public double DailyTotal { get; set; }
public List<TimeLog> Logs { get; set; }
}
}