using System;
using System.Collections.Generic;
using BeWo.ViewModel;
using BS.Shared;
using BS.Shared.DataContracts;

namespace BeWo.Scheduler.ViewModel
{
	public class KlientenTerminVM : AbstractDCMapperVM<AppointmentDC>, IBeWoAppointment
	{
		public BeWoAppointmentCategory AppointmentCategory { get; set; }
		public object Id { get; set; }
		public DateTime Start { get; set; }
		public DateTime End { get; set; }
		public int LabelId { get; set; }
		public string Subject { get; set; }
		public string Description { get; set; }
		public int Status { get; set; }
		public string Location { get; set; }
		public bool AllDay { get; set; }
		public int EventType { get; set; }
		public string RecurrenceInfo { get; set; }
		public string ReminderInfo { get; set; }
		public object ResourceId { get; set; }
		public Dictionary<string, object> CustomFields { get; private set; }
		public KlientenKalenderTyp KlientenKalenderTyp { get; set; }

		public KlientenTerminVM(AppointmentDC pDC) : base(pDC, pDC.AppointmentOid == null)
		{
			
		}

		protected override void InitByDataContract(AppointmentDC pDataContract)
		{
			throw new NotImplementedException();
		}

		protected override AppointmentDC MapToDataContract(AppointmentDC pDataContract, bool doCommit)
		{
			throw new NotImplementedException();
		}
	}
}
