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,8 +5,10 @@ namespace SabreTools.Models.Hashfile
/// </summary>
public class SFV
{
public string File { get; set; }
[Required]
public string? File { get; set; }
public string Hash { get; set; }
[Required]
public string? Hash { get; set; }
}
}