mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-18 12:13:16 +00:00
38 lines
872 B
C#
38 lines
872 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.Metadata
|
|
{
|
|
[JsonObject("configuration"), XmlRoot("configuration")]
|
|
public class Configuration : DatItem
|
|
{
|
|
#region Properties
|
|
|
|
public string? Mask { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? Tag { get; set; }
|
|
|
|
#endregion
|
|
|
|
#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
|
|
|
|
public Configuration() => ItemType = ItemType.Configuration;
|
|
}
|
|
}
|