#region License Information /* HeuristicLab * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * HeuristicLab is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HeuristicLab. If not, see . */ #endregion using System; using System.Drawing; using System.Xml.Serialization; using Calendar; namespace HeuristicLab.Clients.Hive.Views.Administration { public class HiveAppointment : Appointment { private Guid recurringId = Guid.Empty; [XmlIgnore] public int Layer { get { return base.Layer; } set { base.Layer = value; } } [XmlIgnore] public string Group { get { return base.Group; } set { base.Group = value; } } [XmlAttribute("Locked")] public bool Locked { get { return base.Locked; } set { base.Locked = value; } } [XmlIgnore] public Color Color { get { return base.Color; } set { base.Color = value; } } [XmlIgnore] public Color TextColor { get { return base.TextColor; } set { base.TextColor = value; } } [XmlIgnore] public Color BorderColor { get { return base.BorderColor; } set { base.BorderColor = value; } } [XmlIgnore] public bool DrawBorder { get { return base.DrawBorder; } set { base.DrawBorder = value; } } [XmlAttribute("AllDayEvent")] public bool AllDayEvent { get { return base.AllDayEvent; } set { base.AllDayEvent = value; } } [XmlAttribute("Recurring")] public bool Recurring { get { return base.Recurring; } set { base.Recurring = value; } } [XmlAttribute("RecurringId")] public Guid RecurringId { get { return recurringId; } set { recurringId = value; } } [XmlAttribute("EndDate")] public DateTime EndDate { get { return base.EndDate; } set { base.EndDate = value; } } [XmlIgnore] public int AppointmentId { get { return base.AppointmentId; } set { base.AppointmentId = value; } } [XmlElement("Subject")] public string Subject { get { return base.Subject; } set { base.Subject = value; } } [XmlIgnore] public string Location { get { return base.Location; } set { base.Location = value; } } [XmlIgnore] public string Note { get { return base.Note; } set { base.Note = value; } } } }