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("configuration"), XmlRoot("configuration")]
|
|
|
|
|
public class Configuration : DatItem
|
|
|
|
|
{
|
2026-04-01 13:18:45 -04:00
|
|
|
#region Properties
|
|
|
|
|
|
2026-04-02 11:18:49 -04:00
|
|
|
public string? Mask { get; set; }
|
|
|
|
|
|
2026-04-01 13:18:45 -04:00
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
2026-04-02 11:18:49 -04:00
|
|
|
public string? Tag { get; set; }
|
|
|
|
|
|
2026-04-01 13:18:45 -04:00
|
|
|
#endregion
|
|
|
|
|
|
2025-09-26 10:20:48 -04:00
|
|
|
#region Keys
|
|
|
|
|
|
|
|
|
|
/// <remarks>Condition</remarks>
|
|
|
|
|
[NoFilter]
|
|
|
|
|
public const string ConditionKey = "condition";
|
|
|
|
|
|
|
|
|
|
/// <remarks>ConfLocation[]</remarks>
|
|
|
|
|
[NoFilter]
|
|
|
|
|
public const string ConfLocationKey = "conflocation";
|
|
|
|
|
|
|
|
|
|
/// <remarks>ConfSetting[]</remarks>
|
|
|
|
|
[NoFilter]
|
|
|
|
|
public const string ConfSettingKey = "confsetting";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2026-04-01 11:24:33 -04:00
|
|
|
public Configuration() => ItemType = ItemType.Configuration;
|
2025-09-26 10:20:48 -04:00
|
|
|
}
|
|
|
|
|
}
|