mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Start creating Dictionary-based internal models
This commit is contained in:
33
SabreTools.Models/Internal/Configuration.cs
Normal file
33
SabreTools.Models/Internal/Configuration.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System.Xml.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace SabreTools.Models.Internal
|
||||
{
|
||||
[JsonObject("configuration"), XmlRoot("configuration")]
|
||||
public class Configuration : DatItem
|
||||
{
|
||||
#region Keys
|
||||
|
||||
/// <remarks>Condition</remarks>
|
||||
public const string ConditionKey = "condition";
|
||||
|
||||
/// <remarks>ConfLocation[]</remarks>
|
||||
public const string ConfLocationKey = "conflocation";
|
||||
|
||||
/// <remarks>ConfSetting[]</remarks>
|
||||
public const string ConfSettingKey = "confsetting";
|
||||
|
||||
/// <remarks>string</remarks>
|
||||
public const string MaskKey = "mask";
|
||||
|
||||
/// <remarks>string</remarks>
|
||||
public const string NameKey = "name";
|
||||
|
||||
/// <remarks>string</remarks>
|
||||
public const string TagKey = "tag";
|
||||
|
||||
#endregion
|
||||
|
||||
public Configuration() => Type = ItemType.Configuration;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user