using System; using InABox.Configuration; namespace Comal.Classes { public class TimeSheetSettings : IUserConfigurationSettings { public TimeSheetSettings() { View = 2; EndDate = DateTime.Today.AddDays(0 - (double)DateTime.Today.DayOfWeek).AddDays(1); StartDate = DateTime.Today.AddDays(0 - (double)DateTime.Today.DayOfWeek).AddDays(7); FutureTimes = false; } public int View { get; set; } public DateTime StartDate { get; set; } public DateTime EndDate { get; set; } public bool FutureTimes { get; set; } public bool? ApprovedOnly { get; set; } } }