Store original filename on import.

This commit is contained in:
2020-09-04 01:08:51 +01:00
parent 8911a34e3c
commit 5f0de466a7
5 changed files with 257 additions and 11 deletions

View File

@@ -46,7 +46,8 @@ namespace RomRepoMgr.Database.Models
[StringLength(128, MinimumLength = 128)]
public string Sha512 { get; set; }
[DefaultValue(false)]
public bool IsInRepo { get; set; }
public virtual ICollection<FileByMachine> Machines { get; set; }
public bool IsInRepo { get; set; }
public string OriginalFileName { get; set; }
public virtual ICollection<FileByMachine> Machines { get; set; }
}
}