2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Metadata
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
[JsonObject("condition"), XmlRoot("condition")]
|
|
|
|
|
public class Condition : DatItem
|
|
|
|
|
{
|
|
|
|
|
#region Keys
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string ValueKey = "clock";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string MaskKey = "mask";
|
|
|
|
|
|
|
|
|
|
/// <remarks>(eq|ne|gt|le|lt|ge)</remarks>
|
|
|
|
|
public const string RelationKey = "relation";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string TagKey = "tag";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Condition() => Type = ItemType.Condition;
|
|
|
|
|
}
|
|
|
|
|
}
|