using System.Xml.Serialization;
using Newtonsoft.Json;
namespace SabreTools.Data.Models.Metadata
{
[JsonObject("softwarelist"), XmlRoot("softwarelist")]
public class SoftwareList : DatItem
{
#region Properties
public string? Description { get; set; }
public string? Name { get; set; }
/// (original|compatible)
public SoftwareListStatus? Status { get; set; }
public string? Tag { get; set; }
#endregion
#region Keys
/// string
public const string FilterKey = "filter";
/// string
public const string NotesKey = "notes";
/// Software[]
[NoFilter]
public const string SoftwareKey = "software";
#endregion
public SoftwareList() => ItemType = ItemType.SoftwareList;
}
}