Files
SabreTools.Serialization/SabreTools.Data.Models/Listxml/Condition.cs

28 lines
633 B
C#
Raw Normal View History

2025-09-26 10:20:48 -04:00
using System.Xml;
using System.Xml.Serialization;
2026-04-02 02:18:08 -04:00
using SabreTools.Data.Models.Metadata;
2025-09-26 10:20:48 -04:00
2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.Listxml
2025-09-26 10:20:48 -04:00
{
[XmlRoot("condition")]
public class Condition
{
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("tag")]
public string? Tag { get; set; }
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("mask")]
public string? Mask { get; set; }
/// <remarks>(eq|ne|gt|le|lt|ge)</remarks>
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("relation")]
2026-04-02 02:18:08 -04:00
public Relation? Relation { get; set; }
2025-09-26 10:20:48 -04:00
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("value")]
public string? Value { get; set; }
}
2026-01-27 12:03:01 -05:00
}