mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
56 lines
1.4 KiB
C#
56 lines
1.4 KiB
C#
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; }
|
|
|
|
/// <remarks>(yes|partial|no) "yes"</remarks>
|
|
[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
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
[XmlAnyAttribute]
|
|
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
[XmlAnyElement]
|
|
public object[]? ADDITIONAL_ELEMENTS { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
} |