2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Metadata
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Format-agnostic representation of item data
|
|
|
|
|
/// </summary>
|
2026-04-05 01:51:07 -04:00
|
|
|
public abstract class DatItem
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2026-04-05 01:51:07 -04:00
|
|
|
/// Quick accessor to item type
|
2025-09-26 10:20:48 -04:00
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("itemtype", DefaultValueHandling = DefaultValueHandling.Ignore), XmlElement("itemtype")]
|
2026-04-01 11:24:33 -04:00
|
|
|
public ItemType ItemType { get; protected set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
}
|
2026-01-27 12:03:01 -05:00
|
|
|
}
|