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,11 +6,13 @@ namespace SabreTools.Models.Logiqx
[XmlRoot("release")]
public class Release
{
[Required]
[XmlAttribute("name")]
public string Name { get; set; }
public string? Name { get; set; }
[Required]
[XmlAttribute("region")]
public string Region { get; set; }
public string? Region { get; set; }
[XmlAttribute("language")]
public string? Language { get; set; }