Files
BeWoPlaner/BeWoPlanerMobil/Models/SchedulerSessionModel.cs
Christian 7e05645ece - Bugfixing Mok
- Umstellung auf 64 bit
- Weitere Platzhalterfelder
2025-09-09 00:44:55 +02:00

63 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 BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using DevExpress.XtraReports.UI;
namespace BeWoPlanerMobil.Models
{
[Serializable]
public class SchedulerSessionModel : BaseSessionModel
{
public DateTime SelectedDate { get; set; }
public long? SelectedAppointmentOid { get; internal set; }
public List<long> SelectedResourceOids { get; internal set; }
public List<long> SelectedEmployeeOids { get; internal set; }
public List<long> SelectedCustomerOids { get; internal set; }
public List<long> SelectedEmployeeOidsForIntervalFinder { get; internal set; }
public List<long> SelectedCustomerOidsForIntervalFinder { get; internal set; }
public List<long> SelectedResourceOidsForIntervalFinder { get; internal set; }
public bool IsAllDay { get; set; }
public bool IsPrivate { get; set; }
public List<long> SelectedEmployeeOidsForFiltering { get; internal set; }
public List<long> SelectedCustomerOidsForFiltering { get; internal set; }
public List<long> SelectedResourceOidsForFiltering { get; internal set; }
public bool ShouldLoadTasks { get; internal set; }
public bool IsInIntervalFinderMode { get; internal set; }
public DateTime? IntervalStartDate { get; internal set; }
public DateTime? IntervalEndDate { get; internal set; }
public int? IntervalDuration { get; internal set; }
public override void ResetValues()
{
base.ResetValues();
SelectedDate = DateTime.Today;
SelectedAppointmentOid = null;
SelectedResourceOids = new List<long>();
SelectedEmployeeOids = new List<long>();
SelectedCustomerOids = new List<long>();
SelectedEmployeeOidsForIntervalFinder = new List<long>();
SelectedCustomerOidsForIntervalFinder = new List<long>();
SelectedResourceOidsForIntervalFinder = new List<long>();
SelectedEmployeeOidsForFiltering = new List<long>();
SelectedCustomerOidsForFiltering = new List<long>();
SelectedResourceOidsForFiltering = new List<long>();
IsAllDay = false;
IsPrivate = false;
ShouldLoadTasks = false;
IsInIntervalFinderMode = false;
IntervalStartDate = null;
IntervalEndDate = null;
IntervalDuration = null;
}
}
}