Files
BeWoPlaner/BeWoPlanerMobil/Models/ReportSessionModel .cs
Christian 140da93bf8 Bugfixing Mok
QB LH Bad Kreuznach FUD
2025-07-17 16:26:07 +02:00

62 lines
2.7 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web.Mvc;
using BeWo.View.Navigation.Filter;
using BeWoPlanerMobil.Controllers;
using BeWoPlanerMobil.Service;
using BeWoPlanerMobil.Util;
using BeWoPlanerMobil.Util.ReportUtils;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using DevExpress.XtraReports.UI;
namespace BeWoPlanerMobil.Models
{
[Serializable]
public class ReportSessionModel : ISessionModel
{
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<ConfirmationReceiptSignatureObject> SelectedConfirmationReceiptSignatures { get; internal set; }
public QbSignatureIntervalSelection SelectedIntervalSelection { get; internal set; }
public void 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;
}
}
}