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 Chip
{
/// <remarks>type, (cpu|audio)</remarks>
public string Type { get; set; }
[Required]
public string? Type { get; set; }
/// <remarks>name</remarks>
public string Name { get; set; }
[Required]
public string? Name { get; set; }
/// <remarks>flags</remarks>
public string? Flags { get; set; }