mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-18 12:13:16 +00:00
31 lines
657 B
C#
31 lines
657 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.Metadata
|
|
{
|
|
[JsonObject("confsetting"), XmlRoot("confsetting")]
|
|
public class ConfSetting : DatItem
|
|
{
|
|
#region Properties
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
public bool? Default { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? Value { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Keys
|
|
|
|
/// <remarks>Condition</remarks>
|
|
[NoFilter]
|
|
public const string ConditionKey = "condition";
|
|
|
|
#endregion
|
|
|
|
public ConfSetting() => ItemType = ItemType.ConfSetting;
|
|
}
|
|
}
|