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

@@ -3,14 +3,16 @@ namespace SabreTools.Models.ClrMamePro
/// <remarks>input</remarks>
public class Input
{
/// <remarks>players, Numeric?/remarks>
public string Players { get; set; }
/// <remarks>players, Numeric/remarks>
[Required]
public string? Players { get; set; }
/// <remarks>control</remarks>
public string? Control { get; set; }
/// <remarks>buttons, Numeric</remarks>
public string Buttons { get; set; }
[Required]
public string? Buttons { get; set; }
/// <remarks>coins, Numeric</remarks>
public string? Coins { get; set; }