mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-23 06:39:41 +00:00
28 lines
582 B
C#
28 lines
582 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.Metadata
|
|
{
|
|
[JsonObject("slotoption"), XmlRoot("slotoption")]
|
|
public class SlotOption : DatItem
|
|
{
|
|
#region Properties
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
public bool? Default { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Keys
|
|
|
|
/// <remarks>string</remarks>
|
|
public const string DevNameKey = "devname";
|
|
|
|
#endregion
|
|
|
|
public SlotOption() => ItemType = ItemType.SlotOption;
|
|
}
|
|
}
|