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

@@ -5,7 +5,8 @@ namespace SabreTools.Models.AttractMode
/// </summary>
public class MetadataFile
{
public string[] Header { get; set; }
[Required]
public string[]? Header { get; set; }
public Row[]? Row { get; set; }
}

View File

@@ -3,7 +3,8 @@ namespace SabreTools.Models.AttractMode
public class Row
{
/// <remarks>Also called Romname</remarks>
public string Name { get; set; }
[Required]
public string? Name { get; set; }
public string? Title { get; set; }