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

29 lines
688 B
C#

using System.Xml.Serialization;
namespace sodoff.Schema;
[XmlRoot(ElementName = "IS", Namespace = "")]
[Serializable]
public class ItemStat {
public ItemStat() { }
public ItemStat(ItemStat other) {
ItemStatID = other.ItemStatID;
Name = other.Name;
Value = other.Value;
DataType = other.DataType;
}
[XmlElement(ElementName = "ID")]
public int ItemStatID { get; set; }
[XmlElement(ElementName = "N")]
public string Name { get; set; }
[XmlElement(ElementName = "V")]
public string Value { get; set; }
[XmlElement(ElementName = "DTI")]
public DataTypeInfo DataType { get; set; }
}