mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create Required attribute and tag properties
This commit is contained in:
@@ -6,18 +6,22 @@ namespace SabreTools.Models.Listxml
|
||||
[XmlRoot("condition")]
|
||||
public class Condition
|
||||
{
|
||||
[Required]
|
||||
[XmlAttribute("tag")]
|
||||
public string Tag { get; set; }
|
||||
public string? Tag { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlAttribute("mask")]
|
||||
public string Mask { get; set; }
|
||||
public string? Mask { get; set; }
|
||||
|
||||
/// <remarks>(eq|ne|gt|le|lt|ge)</remarks>
|
||||
[Required]
|
||||
[XmlAttribute("relation")]
|
||||
public string Relation { get; set; }
|
||||
public string? Relation { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlAttribute("value")]
|
||||
public string Value { get; set; }
|
||||
public string? Value { get; set; }
|
||||
|
||||
#region DO NOT USE IN PRODUCTION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user