using System; using System.Collections.Generic; using BeWoPlanerMobil.Controllers; using BeWoPlanerMobil.Util.ReportUtils; using BS.Shared; using BS.Shared.DataContracts; namespace BeWoPlanerMobil.Models { [Serializable] public class ReportSessionModel : BaseSessionModel { public long? SelectedCustomerOid { get; set; } public long? SelectedEmployeeOid { get; set; } public long? SelectedTeamOid { get; set; } public long? SelectedOrganisationOid { get; set; } public long? SelectedServiceCategoryOid { get; set; } public int? SelectedMonth { get; internal set; } public int? SelectedYear { get; internal set; } public int? SelectedStartDay { get; internal set; } public int? SelectedEndDay { get; internal set; } public QBFilterEnum? SelectedFilterItemId { get; internal set; } public bool IsForSelectedEmployeesOnly { get; internal set; } public bool IsForSelectedCostbearersOnly { get; internal set; } public bool IsForSelectedCategoryOnly { get; internal set; } public QuittierungsbelegsReportSettings QuittierungsbelegsReportSettings { get; internal set; } public ConfirmationReceiptObject ConfirmationReceiptObject { get; internal set; } public Quittierungsbelegsunterschriftenobjekt Quittierungsbelegsunterschriftenobjekt { get; internal set; } public List SelectedConfirmationReceiptSignatures { get; internal set; } public QbSignatureIntervalSelection SelectedIntervalSelection { get; internal set; } public List ConfirmationReceiptSignatures { get; internal set; } public Dictionary> ServiceRecordOids2GoalHeader { get; internal set; } public override void ResetValues() { base.ResetValues(); SelectedCustomerOid = null; SelectedEmployeeOid = null; SelectedTeamOid = null; SelectedOrganisationOid = null; SelectedServiceCategoryOid = null; SelectedMonth = null; SelectedYear = null; SelectedStartDay = null; SelectedEndDay = null; SelectedFilterItemId = null; IsForSelectedEmployeesOnly = false; IsForSelectedCostbearersOnly = false; IsForSelectedCategoryOnly = false; QuittierungsbelegsReportSettings = null; ConfirmationReceiptObject = null; Quittierungsbelegsunterschriftenobjekt = null; SelectedConfirmationReceiptSignatures = null; SelectedIntervalSelection = QbSignatureIntervalSelection.FirstHalf; ConfirmationReceiptSignatures = null; ServiceRecordOids2GoalHeader = null; } } }