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,15 +5,20 @@ namespace SabreTools.Models.EverdriveSMDB
/// </summary>
public class Row
{
public string SHA256 { get; set; }
[Required]
public string? SHA256 { get; set; }
public string Name { get; set; }
[Required]
public string? Name { get; set; }
public string SHA1 { get; set; }
[Required]
public string? SHA1 { get; set; }
public string MD5 { get; set; }
[Required]
public string? MD5 { get; set; }
public string CRC32 { get; set; }
[Required]
public string? CRC32 { get; set; }
public string? Size { get; set; }