using System.Xml;
using System.Xml.Serialization;

namespace SabreTools.Data.Models.Listxml
{
    [XmlRoot("configuration")]
    public class Configuration
    {
        [Required]
        [XmlAttribute("name")]
        public string? Name { get; set; }

        [Required]
        [XmlAttribute("tag")]
        public string? Tag { get; set; }

        [XmlAttribute("mask")]
        public string? Mask { get; set; }

        [XmlElement("condition")]
        public Condition? Condition { get; set; }

        [XmlElement("conflocation")]
        public ConfLocation[]? ConfLocation { get; set; }

        [XmlElement("confsetting")]
        public ConfSetting[]? ConfSetting { get; set; }
    }
}
