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,13 +4,16 @@ namespace SabreTools.Models.DosCenter
public class File
{
/// <remarks>name, attribute</remarks>
public string Name { get; set; }
[Required]
public string? Name { get; set; }
/// <remarks>size, attribute, numeric</remarks>
public string Size { get; set; }
[Required]
public string? Size { get; set; }
/// <remarks>crc, attribute</remarks>
public string CRC { get; set; }
[Required]
public string? CRC { get; set; }
/// <remarks>date, attribute</remarks>
public string? Date { get; set; }