mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +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.
28 lines
661 B
C#
28 lines
661 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.SoftwareList
|
|
{
|
|
[XmlRoot("disk")]
|
|
public class Disk
|
|
{
|
|
[Required]
|
|
[XmlAttribute("name")]
|
|
public string? Name { get; set; }
|
|
|
|
[XmlAttribute("md5")]
|
|
public string? MD5 { get; set; }
|
|
|
|
[XmlAttribute("sha1")]
|
|
public string? SHA1 { get; set; }
|
|
|
|
/// <remarks>(baddump|nodump|good) "good"</remarks>
|
|
[XmlAttribute("status")]
|
|
public string? Status { get; set; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
[XmlAttribute("writable")]
|
|
public string? Writeable { get; set; }
|
|
}
|
|
}
|