using System.Xml;
using System.Xml.Serialization;
namespace SabreTools.Models.SoftwareList
{
[XmlRoot("software")]
public class Software
{
[Required]
[XmlAttribute("name")]
public string? Name { get; set; }
[XmlAttribute("cloneof")]
public string? CloneOf { get; set; }
/// (yes|partial|no) "yes"
[XmlAttribute("supported")]
public string? Supported { get; set; }
[Required]
[XmlElement("description")]
public string? Description { get; set; }
[Required]
[XmlElement("year")]
public string? Year { get; set; }
[Required]
[XmlElement("publisher")]
public string? Publisher { get; set; }
[XmlElement("notes")]
public string? Notes { get; set; }
[XmlElement("info")]
public Info[]? Info { get; set; }
[XmlElement("sharedfeat")]
public SharedFeat[]? SharedFeat { get; set; }
[XmlElement("part")]
public Part[]? Part { get; set; }
#region DO NOT USE IN PRODUCTION
/// Should be empty
[XmlAnyAttribute]
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
/// Should be empty
[XmlAnyElement]
public object[]? ADDITIONAL_ELEMENTS { get; set; }
#endregion
}
}