Implemented "Add" command and finished Db stuff.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
namespace TBDel.Models;
|
||||
|
||||
// The DB entry - A list of files and folders
|
||||
public class DbEntry
|
||||
{
|
||||
public List<FileEntry> Files { get; set; } = new();
|
||||
public List<FolderEntry> Folders { get; set; } = new();
|
||||
}
|
@@ -2,7 +2,9 @@ namespace TBDel.Models;
|
||||
|
||||
public class FileEntry
|
||||
{
|
||||
// File path
|
||||
// Unique 5 digit number for each entry
|
||||
uint Id { get; set; }
|
||||
// Absolute path
|
||||
public string Path { get; set; } = string.Empty;
|
||||
// Date added
|
||||
public DateTime DateAdded { get; set; }
|
||||
|
Reference in New Issue
Block a user