78 lines
2.1 KiB
C#
78 lines
2.1 KiB
C#
//-----------------------------------------------------------------------------
|
|
// <copyright file="PersonFunctionWp8Model.cs" company="BTU/IIT">
|
|
// Company copyright tag.
|
|
// </copyright>
|
|
// <author>stubbfel</author>
|
|
// <sience>05.09.2013</sience>
|
|
//-----------------------------------------------------------------------------
|
|
namespace CampusAppWP8.Model.Person
|
|
{
|
|
using System.Xml.Serialization;
|
|
using CampusAppWP8.Utility;
|
|
|
|
/// <summary>Person function model.</summary>
|
|
/// <remarks>Stubbfel, 05.09.2013.</remarks>
|
|
public class PersonFunctionWp8Model : CampusAppWPortalLib8.Model.Person.PersonFunctionModel
|
|
{
|
|
#region Property
|
|
|
|
/// <summary>Gets or sets the function.</summary>
|
|
/// <value>The function.</value>
|
|
[XmlAttribute("funktion")]
|
|
public new string Function
|
|
{
|
|
get
|
|
{
|
|
return base.Function;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (value != this.Function)
|
|
{
|
|
base.Function = Wp8StringManager.StripAndDecodeHTML(value);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the appointment.</summary>
|
|
/// <value>The appointment.</value>
|
|
[XmlAttribute("einrichtung")]
|
|
public new string Appointment
|
|
{
|
|
get
|
|
{
|
|
return base.Appointment;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (value != this.Appointment)
|
|
{
|
|
base.Appointment = Wp8StringManager.StripAndDecodeHTML(value);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the building.</summary>
|
|
/// <value>The building.</value>
|
|
[XmlAttribute("gebaeude")]
|
|
public new string Building
|
|
{
|
|
get
|
|
{
|
|
return base.Building;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (value != this.Building)
|
|
{
|
|
base.Building = Wp8StringManager.StripAndDecodeHTML(value);
|
|
}
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
}
|