mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-08 23:33:03 +00:00
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
using SabreTools.Data.Models.Metadata;
|
|
|
|
namespace SabreTools.Data.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 Supported? 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; }
|
|
}
|
|
}
|