using System.Xml.Serialization;
using Newtonsoft.Json;
namespace SabreTools.Data.Models.Metadata
{
[JsonObject("software"), XmlRoot("software")]
public class Software : DatItem
{
#region Properties
public string? Description { get; set; }
public string? Name { get; set; }
/// (yes|partial|no) "yes"
public Supported? Supported { get; set; }
#endregion
#region Keys
/// string
public const string CloneOfKey = "cloneof";
/// Info[]
[NoFilter]
public const string InfoKey = "info";
/// string
public const string NotesKey = "notes";
/// Part[]
[NoFilter]
public const string PartKey = "part";
/// string
public const string PublisherKey = "publisher";
/// SharedFeat[]
[NoFilter]
public const string SharedFeatKey = "sharedfeat";
/// string
public const string YearKey = "year";
#endregion
public Software() => ItemType = ItemType.Software;
}
}