mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
21 lines
531 B
C#
21 lines
531 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "Availability", Namespace = "")]
|
|
[Serializable]
|
|
public class ItemAvailability {
|
|
public ItemAvailability() { }
|
|
|
|
public ItemAvailability(ItemAvailability other) {
|
|
StartDate = other.StartDate;
|
|
EndDate = other.EndDate;
|
|
}
|
|
|
|
[XmlElement(ElementName = "sdate", IsNullable = true)]
|
|
public DateTime? StartDate;
|
|
|
|
[XmlElement(ElementName = "edate", IsNullable = true)]
|
|
public DateTime? EndDate;
|
|
}
|