Create Required attribute and tag properties

This commit is contained in:
Matt Nadareski
2023-08-10 12:09:29 -04:00
parent 1557882fe1
commit fb81fd0243
89 changed files with 316 additions and 155 deletions

View File

@@ -6,15 +6,18 @@ namespace SabreTools.Models.Logiqx
[XmlRoot("softwarelist")]
public class SoftwareList
{
[Required]
[XmlAttribute("tag")]
public string Tag { get; set; }
public string? Tag { get; set; }
[Required]
[XmlAttribute("name")]
public string Name { get; set; }
public string? Name { get; set; }
/// <remarks>(original|compatible)</remarks>
[Required]
[XmlAttribute("status")]
public string Status { get; set; }
public string? Status { get; set; }
[XmlAttribute("filter")]
public string? Filter { get; set; }