97 lines
4.6 KiB
C#
97 lines
4.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BeWo.View.Navigation.Filter;
|
|
using BeWoPlanerMobil.Util;
|
|
|
|
namespace BeWoPlanerMobil.Models
|
|
{
|
|
[Serializable]
|
|
public class MainSessionModel : BaseSessionModel
|
|
{
|
|
public bool SessionInitialized { get; internal set; }
|
|
public long? SelectedSupportConceptOid { get; internal set; }
|
|
public long? SelectedCostBearerSupportConceptOid { get; internal set; }
|
|
public bool ShowOnlyOwnSupportConcepts { get; internal set; }
|
|
public bool ShowOnlyMyTeamsSupportConcepts { get; internal set; }
|
|
public CustomerFilterEnum SelectedSupportConceptFilter { get; internal set; }
|
|
public bool ShowExpiredSupportConcepts { get; internal set; }
|
|
public long? SelectedServiceCategoryOid { get; internal set; }
|
|
public long? SelectedServiceDescriptionOid { get; internal set; }
|
|
public long? SelectedServiceRecordOid { get; internal set; }
|
|
public long? SelectedEmployeeOid { get; internal set; }
|
|
public NullableDateTimeSpan SelectedZeitraum { get; internal set; }
|
|
public List<long> GroupBookingSelectedCostBearerSupportConceptOids { get; internal set; }
|
|
public List<long> GroupBookingSelectedSupportConceptOids { get; internal set; }
|
|
public List<long> GroupBookingSelectedEmployeeOids { get; internal set; }
|
|
public List<long> GroupBookingSelectedGroupOfPeopleOids { get; internal set; }
|
|
public bool IsInGroupBookingMode { get; internal set; }
|
|
public bool IsInMultiBookingMode { get; internal set; }
|
|
public bool IsInEditingMode { get; internal set; }
|
|
public long? PreviouslySelectedEmployeeOid { get; internal set; }
|
|
public long? PreviouslySelectedSupportConceptOid { get; internal set; }
|
|
public long? PreviouslySelectedCostbearer2SupportConceptOid { get; internal set; }
|
|
public int CurrentPage { get; internal set; }
|
|
public List<long> SelectedGoalOids { get; internal set; }
|
|
public long LastCreatedServiceRecordOid { get; internal set; }
|
|
public long? TransferringAppointmentOid { get; internal set; }
|
|
public IList<MokSupportConceptListObject> SupportConceptListObjects { get; internal set; }
|
|
public bool IsInTransferMode { get; internal set; }
|
|
public IList<MokZiel> SelectedGoals { get; internal set; }
|
|
public List<long> SupportConceptOids { get; set; }
|
|
public MokServiceRecord SelectedServiceRecord { get; internal set; }
|
|
public DateTime? NewStartDate { get; internal set; }
|
|
public DateTime? NewEndDate { get; internal set; }
|
|
|
|
public override void ResetValues()
|
|
{
|
|
base.ResetValues();
|
|
|
|
SessionInitialized = false;
|
|
SelectedSupportConceptOid = null;
|
|
SelectedCostBearerSupportConceptOid = null;
|
|
ShowOnlyOwnSupportConcepts = false;
|
|
ShowOnlyMyTeamsSupportConcepts = false;
|
|
SelectedSupportConceptFilter = CustomerFilterEnum.All;
|
|
ShowExpiredSupportConcepts = false;
|
|
SelectedServiceCategoryOid = null;
|
|
SelectedServiceDescriptionOid = null;
|
|
SelectedServiceRecordOid = null;
|
|
SelectedEmployeeOid = null;
|
|
SelectedZeitraum = null;
|
|
NewStartDate = null;
|
|
NewEndDate = null;
|
|
|
|
GroupBookingSelectedCostBearerSupportConceptOids = new List<long>();
|
|
GroupBookingSelectedSupportConceptOids = new List<long>();
|
|
GroupBookingSelectedEmployeeOids = new List<long>();
|
|
GroupBookingSelectedGroupOfPeopleOids = new List<long>();
|
|
|
|
//GroupBookingSelectedCostbearerRelOids = new List<long>();
|
|
//MultiBookingSelectedSupportConceptOids = new List<long>();
|
|
|
|
//MultiBookingSelectedCostbearerRelOids = new List<long>();
|
|
//MultiBookingSelectedEmployeeOids = new List<long>();
|
|
|
|
SelectedGoalOids = new List<long>();
|
|
|
|
PreviouslySelectedEmployeeOid = null;
|
|
PreviouslySelectedSupportConceptOid = null;
|
|
PreviouslySelectedCostbearer2SupportConceptOid = null;
|
|
|
|
IsInGroupBookingMode = false;
|
|
IsInEditingMode = false;
|
|
IsInMultiBookingMode = false;
|
|
IsInTransferMode = false;
|
|
|
|
CurrentPage = 0;
|
|
LastCreatedServiceRecordOid = 0;
|
|
|
|
TransferringAppointmentOid = null;
|
|
SupportConceptListObjects = new List<MokSupportConceptListObject>();
|
|
SelectedGoals = new List<MokZiel>();
|
|
|
|
SupportConceptOids = new List<long>();
|
|
SelectedServiceRecord = null;
|
|
}
|
|
}
|
|
} |