Files
SabreTools.Serialization/SabreTools.Data.Models/SoftwareList/Software.cs
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

45 lines
1.1 KiB
C#

using System.Xml;
using System.Xml.Serialization;
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 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; }
}
}