mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-22 06:09:41 +00:00
25 lines
541 B
C#
25 lines
541 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.Metadata
|
|
{
|
|
[JsonObject("condition"), XmlRoot("condition")]
|
|
public class Condition : DatItem
|
|
{
|
|
#region Properties
|
|
|
|
public string? Mask { get; set; }
|
|
|
|
/// <remarks>(eq|ne|gt|le|lt|ge)</remarks>
|
|
public Relation? Relation { get; set; }
|
|
|
|
public string? Tag { get; set; }
|
|
|
|
public string? Value { get; set; }
|
|
|
|
#endregion
|
|
|
|
public Condition() => ItemType = ItemType.Condition;
|
|
}
|
|
}
|