mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-11 08:43:03 +00:00
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.
36 lines
784 B
C#
36 lines
784 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.OpenMSX
|
|
{
|
|
[XmlRoot("software")]
|
|
public class Software
|
|
{
|
|
[Required]
|
|
[XmlElement("title")]
|
|
public string? Title { get; set; }
|
|
|
|
[XmlElement("genmsxid")]
|
|
public string? GenMSXID { get; set; }
|
|
|
|
[Required]
|
|
[XmlElement("system")]
|
|
public string? System { get; set; }
|
|
|
|
[Required]
|
|
[XmlElement("company")]
|
|
public string? Company { get; set; }
|
|
|
|
[Required]
|
|
[XmlElement("year")]
|
|
public string? Year { get; set; }
|
|
|
|
[Required]
|
|
[XmlElement("country")]
|
|
public string? Country { get; set; }
|
|
|
|
[XmlElement("dump")]
|
|
public Dump[]? Dump { get; set; }
|
|
}
|
|
}
|