mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-19 12:43:17 +00:00
25 lines
555 B
C#
25 lines
555 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("dipvalue")]
|
|
public class DipValue
|
|
{
|
|
[Required]
|
|
[XmlAttribute("name")]
|
|
public string? Name { get; set; }
|
|
|
|
[Required]
|
|
[XmlAttribute("value")]
|
|
public string? Value { get; set; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
[XmlAttribute("default")]
|
|
public bool? Default { get; set; }
|
|
|
|
[XmlElement("condition")]
|
|
public Condition? Condition { get; set; }
|
|
}
|
|
}
|