sodoff/src/Schema/Pair.cs
2025-06-27 22:37:58 +02:00

24 lines
556 B
C#

using System.Xml.Serialization;
namespace sodoff.Schema;
[XmlRoot(ElementName = "Pair", Namespace = "")]
[Serializable]
public class Pair {
public Pair() { }
public Pair(Pair other) {
PairKey = other.PairKey;
PairValue = other.PairValue;
UpdateDate = other.UpdateDate;
}
[XmlElement(ElementName = "PairKey")]
public string PairKey;
[XmlElement(ElementName = "PairValue")]
public string PairValue;
[XmlElement(ElementName = "UpdateDate")]
public DateTime UpdateDate;
}