mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-14 02:02:57 +00:00
36 lines
806 B
C#
36 lines
806 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 Condition? Condition { get; set; }
|
|
|
|
public string? Mask { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? Tag { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Keys
|
|
|
|
/// <remarks>ConfLocation[]</remarks>
|
|
[NoFilter]
|
|
public const string ConfLocationKey = "conflocation";
|
|
|
|
/// <remarks>ConfSetting[]</remarks>
|
|
[NoFilter]
|
|
public const string ConfSettingKey = "confsetting";
|
|
|
|
#endregion
|
|
|
|
public Configuration() => ItemType = ItemType.Configuration;
|
|
}
|
|
}
|