mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-06 06:11:45 +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.
23 lines
522 B
C#
23 lines
522 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("diplocation")]
|
|
public class DipLocation
|
|
{
|
|
[Required]
|
|
[XmlAttribute("name")]
|
|
public string? Name { get; set; }
|
|
|
|
/// <remarks>Numeric?</remarks>
|
|
[Required]
|
|
[XmlAttribute("number")]
|
|
public string? Number { get; set; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
[XmlAttribute("inverted")]
|
|
public string? Inverted { get; set; }
|
|
}
|
|
}
|