67 lines
2.1 KiB
C#
67 lines
2.1 KiB
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="LectureDate.cs" company="BTU/IIT">
|
|
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
|
// </copyright>
|
|
// <author>Stubbfel</author>
|
|
// <date>15.10.2013</date>
|
|
// <summary>Implements the lecture date class</summary>
|
|
//-----------------------------------------------------------------------
|
|
namespace CampusAppWPortalLib8.Model.Lecture
|
|
{
|
|
using System.Xml.Serialization;
|
|
|
|
/// <summary> Model for the date of an activity. </summary>
|
|
/// <remarks> Stubbfel, 15.10.2013. </remarks>
|
|
public class LectureDate
|
|
{
|
|
#region Constructor
|
|
|
|
/// <summary> Initializes a new instance of the <see cref="LectureDate" /> class. </summary>
|
|
/// <remarks> Stubbfel, 15.10.2013. </remarks>
|
|
public LectureDate()
|
|
{
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Property
|
|
|
|
/// <summary> Gets or sets WeekDay. </summary>
|
|
/// <value> The week day. </value>
|
|
[XmlElement("wochentag")]
|
|
public string WeekDay { get; set; }
|
|
|
|
/// <summary> Gets or sets From. </summary>
|
|
/// <value> from. </value>
|
|
[XmlElement("von")]
|
|
public string From { get; set; }
|
|
|
|
/// <summary> Gets or sets To. </summary>
|
|
/// <value> to. </value>
|
|
[XmlElement("bis")]
|
|
public string To { get; set; }
|
|
|
|
/// <summary> Gets or sets Interval. </summary>
|
|
/// <value> The interval. </value>
|
|
[XmlElement("rhythmus")]
|
|
public string Interval { get; set; }
|
|
|
|
/// <summary> Gets or sets Room. </summary>
|
|
/// <value> The room. </value>
|
|
[XmlElement("raum")]
|
|
public string Room { get; set; }
|
|
|
|
/// <summary> Gets or sets StartDate. </summary>
|
|
/// <value> The start date. </value>
|
|
[XmlElement("anfangsdatum")]
|
|
public string StartDate { get; set; }
|
|
|
|
/// <summary> Gets or sets EndDate. </summary>
|
|
/// <value> The end date. </value>
|
|
[XmlElement("enddatum")]
|
|
public string EndDate { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|