Implement importing files from folder.

This commit is contained in:
2020-08-23 20:10:38 +01:00
parent bdcae3f80e
commit b698e75739
8 changed files with 874 additions and 9 deletions

View File

@@ -24,6 +24,7 @@
*******************************************************************************/
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace RomRepoMgr.Database.Models
@@ -43,7 +44,9 @@ namespace RomRepoMgr.Database.Models
[StringLength(96, MinimumLength = 96)]
public string Sha384 { get; set; }
[StringLength(128, MinimumLength = 128)]
public string Sha512 { get; set; }
public string Sha512 { get; set; }
[DefaultValue(false)]
public bool IsInRepo { get; set; }
public virtual ICollection<FileByMachine> Machines { get; set; }
}
}