modifica (importante) modallo dati x tags + MD% check

This commit is contained in:
Samuele Locatelli
2021-09-07 12:03:01 +02:00
parent 68b9cd4d78
commit 607e096609
7 changed files with 264 additions and 64 deletions
+4 -1
View File
@@ -30,10 +30,13 @@ namespace MP.FileData.DatabaseModels
public long Size { get; set; } = 0;
public string Path { get; set; } = "";
public string MimeType { get; set; } = "";
public bool Changed { get; set; } = false;
public string MD5 { get; set; } = "";
public FileState DiskState { get; set; } = FileState.New;
public DateTime LastCheck { get; set; } = DateTime.Now.AddYears(-1);
public byte[] FileContent { get; set; }
public ICollection<TagModel> Tags { get; set; }
[NotMapped]
public string FileStringContent
{