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
|
|
|
{
|
|
|
|
|
[JsonObject("software"), XmlRoot("software")]
|
|
|
|
|
public class Software : DatItem
|
|
|
|
|
{
|
2026-04-01 13:18:45 -04:00
|
|
|
#region Properties
|
|
|
|
|
|
2026-04-02 11:18:49 -04:00
|
|
|
public string? Description { get; set; }
|
|
|
|
|
|
2026-04-01 13:18:45 -04:00
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
2026-04-02 02:18:08 -04:00
|
|
|
/// <remarks>(yes|partial|no) "yes"</remarks>
|
|
|
|
|
public Supported? Supported { get; set; }
|
|
|
|
|
|
2026-04-01 13:18:45 -04:00
|
|
|
#endregion
|
|
|
|
|
|
2025-09-26 10:20:48 -04:00
|
|
|
#region Keys
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string CloneOfKey = "cloneof";
|
|
|
|
|
|
|
|
|
|
/// <remarks>Info[]</remarks>
|
|
|
|
|
[NoFilter]
|
|
|
|
|
public const string InfoKey = "info";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string NotesKey = "notes";
|
|
|
|
|
|
|
|
|
|
/// <remarks>Part[]</remarks>
|
|
|
|
|
[NoFilter]
|
|
|
|
|
public const string PartKey = "part";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string PublisherKey = "publisher";
|
|
|
|
|
|
|
|
|
|
/// <remarks>SharedFeat[]</remarks>
|
|
|
|
|
[NoFilter]
|
|
|
|
|
public const string SharedFeatKey = "sharedfeat";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string YearKey = "year";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2026-04-01 11:24:33 -04:00
|
|
|
public Software() => ItemType = ItemType.Software;
|
2025-09-26 10:20:48 -04:00
|
|
|
}
|
|
|
|
|
}
|