EmployeeResourcePlannerProperties.cs 910 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using InABox.Configuration;
  3. namespace PRSDesktop;
  4. public enum EmployeeResourcePlannerViewType
  5. {
  6. Day,
  7. Week
  8. }
  9. public class EmployeeResourcePlannerProperties : IUserConfigurationSettings, IDashboardProperties
  10. {
  11. public EmployeeSelectorSettings EmployeeSettings { get; set; }
  12. public bool IncludeUnApprovedLeave { get; set; }
  13. public EmployeeSelectorData EmployeeSelection { get; set; }
  14. public Guid ActivityType { get; set; }
  15. public String JobFilter { get; set; }
  16. public EmployeeResourcePlannerViewType ViewType { get; set; }
  17. public EmployeeResourcePlannerProperties()
  18. {
  19. EmployeeSettings = new EmployeeSelectorSettings();
  20. EmployeeSelection = new EmployeeSelectorData();
  21. IncludeUnApprovedLeave = false;
  22. ActivityType = Guid.Empty;
  23. JobFilter = "";
  24. ViewType = EmployeeResourcePlannerViewType.Day;
  25. }
  26. }