58 lines
2.5 KiB
C#
58 lines
2.5 KiB
C#
using BS.Shared.Core;
|
|
using DevExpress.Xpo.Helpers;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BeWoPlanerMobil.Models
|
|
{
|
|
[Serializable]
|
|
public class ReportViewerSessionModel : BaseSessionModel
|
|
{
|
|
public Dictionary<long, long> QueryEmployeeOids { get; set; }
|
|
public Dictionary<long, long> QueryCustomerOids { get; set; }
|
|
public Dictionary<long, long> QueryOrganisationOids { get; set; }
|
|
public Dictionary<long, DateTime> QueryDates { get; set; }
|
|
public Dictionary<long, DateTimeSpan> QueryDateRanges { get; set; }
|
|
public Dictionary<long, string> QueryTexts { get; set; }
|
|
public Dictionary<long, DateTime> QueryMonths { get; set; }
|
|
public Dictionary<long, long> QueryServiceCategoryOids { get; set; }
|
|
public Dictionary<long, long> QuerySupportConceptOids { get; set; }
|
|
public Dictionary<long, long> QueryTeamOids { get; set; }
|
|
public Dictionary<long, long> QueryValueListEntryOids { get; set; }
|
|
public Dictionary<long, DateTime> 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<long, long>();
|
|
QueryCustomerOids = new Dictionary<long, long>();
|
|
QueryOrganisationOids = new Dictionary<long, long>();
|
|
QueryDates = new Dictionary<long, DateTime>();
|
|
QueryDateRanges = new Dictionary<long, DateTimeSpan>();
|
|
QueryTexts = new Dictionary<long, string>();
|
|
QueryMonths = new Dictionary<long, DateTime>();
|
|
QueryServiceCategoryOids = new Dictionary<long, long>();
|
|
QuerySupportConceptOids = new Dictionary<long, long>();
|
|
QueryTeamOids = new Dictionary<long, long>();
|
|
QueryValueListEntryOids = new Dictionary<long, long>();
|
|
QueryYears = new Dictionary<long, DateTime>();
|
|
|
|
|
|
SelectedEmployeeOid = null;
|
|
SelectedTeamOid = null;
|
|
SelectedMonth = null;
|
|
SelectedYear = null;
|
|
SelectedReportType = ReportType.Berichte;
|
|
SelectedQueryOid = null;
|
|
}
|
|
}
|
|
} |