mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-18 12:13:16 +00:00
39 lines
906 B
C#
39 lines
906 B
C#
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; }
|
|
|
|
/// <remarks>(original|compatible)</remarks>
|
|
public SoftwareListStatus? Status { get; set; }
|
|
|
|
public string? Tag { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Keys
|
|
|
|
/// <remarks>string</remarks>
|
|
public const string FilterKey = "filter";
|
|
|
|
/// <remarks>string</remarks>
|
|
public const string NotesKey = "notes";
|
|
|
|
/// <remarks>Software[]</remarks>
|
|
[NoFilter]
|
|
public const string SoftwareKey = "software";
|
|
|
|
#endregion
|
|
|
|
public SoftwareList() => ItemType = ItemType.SoftwareList;
|
|
}
|
|
}
|