mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-18 12:13:16 +00:00
51 lines
1.2 KiB
C#
51 lines
1.2 KiB
C#
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; }
|
|
|
|
/// <remarks>(yes|partial|no) "yes"</remarks>
|
|
public Supported? Supported { get; set; }
|
|
|
|
#endregion
|
|
|
|
#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
|
|
|
|
public Software() => ItemType = ItemType.Software;
|
|
}
|
|
}
|