mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-20 05:03:11 +00:00
28 lines
633 B
C#
28 lines
633 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
using SabreTools.Data.Models.Metadata;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("condition")]
|
|
public class Condition
|
|
{
|
|
[Required]
|
|
[XmlAttribute("tag")]
|
|
public string? Tag { get; set; }
|
|
|
|
[Required]
|
|
[XmlAttribute("mask")]
|
|
public string? Mask { get; set; }
|
|
|
|
/// <remarks>(eq|ne|gt|le|lt|ge)</remarks>
|
|
[Required]
|
|
[XmlAttribute("relation")]
|
|
public Relation? Relation { get; set; }
|
|
|
|
[Required]
|
|
[XmlAttribute("value")]
|
|
public string? Value { get; set; }
|
|
}
|
|
}
|