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

@@ -4,10 +4,12 @@ namespace SabreTools.Models.ClrMamePro
public class Video
{
/// <remarks>screen, (raster|vector)</remarks>
public string Screen { get; set; }
[Required]
public string? Screen { get; set; }
/// <remarks>orientation, (vertical|horizontal)</remarks>
public string Orientation { get; set; }
[Required]
public string? Orientation { get; set; }
/// <remarks>x, Numeric?</remarks>
public string? X { get; set; }