2023-08-01 23:18:53 -04:00
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.Internal
|
|
|
|
|
{
|
|
|
|
|
[JsonObject("confsetting"), XmlRoot("confsetting")]
|
|
|
|
|
public class ConfSetting : DatItem
|
|
|
|
|
{
|
|
|
|
|
#region Keys
|
|
|
|
|
|
|
|
|
|
/// <remarks>Condition</remarks>
|
2023-08-11 11:29:25 -04:00
|
|
|
[NoFilter]
|
2023-08-01 23:18:53 -04:00
|
|
|
public const string ConditionKey = "condition";
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
public const string DefaultKey = "default";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string NameKey = "name";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string ValueKey = "value";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ConfSetting() => Type = ItemType.ConfSetting;
|
|
|
|
|
}
|
|
|
|
|
}
|