2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
2026-04-02 02:18:08 -04:00
|
|
|
using SabreTools.Data.Models.Metadata;
|
2025-09-26 10:20:48 -04:00
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.SoftwareList
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
[XmlRoot("software")]
|
|
|
|
|
public class Software
|
|
|
|
|
{
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlAttribute("name")]
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("cloneof")]
|
|
|
|
|
public string? CloneOf { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|partial|no) "yes"</remarks>
|
|
|
|
|
[XmlAttribute("supported")]
|
2026-04-02 02:18:08 -04:00
|
|
|
public Supported? Supported { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlElement("description")]
|
|
|
|
|
public string? Description { get; set; }
|
|
|
|
|
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlElement("year")]
|
|
|
|
|
public string? Year { get; set; }
|
|
|
|
|
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlElement("publisher")]
|
|
|
|
|
public string? Publisher { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("notes")]
|
|
|
|
|
public string? Notes { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("info")]
|
|
|
|
|
public Info[]? Info { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("sharedfeat")]
|
|
|
|
|
public SharedFeat[]? SharedFeat { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("part")]
|
|
|
|
|
public Part[]? Part { get; set; }
|
|
|
|
|
}
|
2026-01-27 12:03:01 -05:00
|
|
|
}
|