using BS.Shared.Core; using DevExpress.Xpo.Helpers; using System; using System.Collections.Generic; namespace BeWoPlanerMobil.Models { [Serializable] public class ReportViewerSessionModel : BaseSessionModel { public Dictionary QueryEmployeeOids { get; set; } public Dictionary QueryCustomerOids { get; set; } public Dictionary QueryOrganisationOids { get; set; } public Dictionary QueryDates { get; set; } public Dictionary QueryDateRanges { get; set; } public Dictionary QueryTexts { get; set; } public Dictionary QueryMonths { get; set; } public Dictionary QueryServiceCategoryOids { get; set; } public Dictionary QuerySupportConceptOids { get; set; } public Dictionary QueryTeamOids { get; set; } public Dictionary QueryValueListEntryOids { get; set; } public Dictionary QueryYears { get; set; } public long? SelectedEmployeeOid { get; set; } public long? SelectedTeamOid { get; set; } public int? SelectedMonth { get; internal set; } public int? SelectedYear { get; internal set; } public ReportType SelectedReportType { get; internal set; } public long? SelectedQueryOid { get; internal set; } public override void ResetValues() { base.ResetValues(); QueryEmployeeOids = new Dictionary(); QueryCustomerOids = new Dictionary(); QueryOrganisationOids = new Dictionary(); QueryDates = new Dictionary(); QueryDateRanges = new Dictionary(); QueryTexts = new Dictionary(); QueryMonths = new Dictionary(); QueryServiceCategoryOids = new Dictionary(); QuerySupportConceptOids = new Dictionary(); QueryTeamOids = new Dictionary(); QueryValueListEntryOids = new Dictionary(); QueryYears = new Dictionary(); SelectedEmployeeOid = null; SelectedTeamOid = null; SelectedMonth = null; SelectedYear = null; SelectedReportType = ReportType.Berichte; SelectedQueryOid = null; } } }