mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
26 lines
595 B
C#
26 lines
595 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "Announcement")]
|
|
[Serializable]
|
|
public class Announcement
|
|
{
|
|
[XmlElement(ElementName = "AnnouncementID")]
|
|
public int AnnouncementID;
|
|
|
|
[XmlElement(ElementName = "Description")]
|
|
public string Description;
|
|
|
|
[XmlElement(ElementName = "AnnouncementText")]
|
|
public string AnnouncementText;
|
|
|
|
[XmlElement(ElementName = "Type")]
|
|
public AnnouncementType Type;
|
|
|
|
[XmlElement(ElementName = "StartDate")]
|
|
public DateTime StartDate;
|
|
|
|
[XmlElement(ElementName = "EndDate", IsNullable = true)]
|
|
public DateTime? EndDate;
|
|
} |