Implemented compatible SaveDirectoryTree model.

This commit is contained in:
2020-07-05 16:56:25 +01:00
parent 4eaf092291
commit 07ed1e1430
2 changed files with 13 additions and 3 deletions
@@ -0,0 +1,12 @@
using System;
namespace Firelance.Models
{
public class SaveDirectoryDescriptorModel
{
public string Element { get; set; }
public bool IsFile { get; set; }
public DateTime LastModifyDate { get; set; }
}
}
+1 -3
View File
@@ -1,6 +1,4 @@
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
namespace Firelance.Models
@@ -8,8 +6,8 @@ namespace Firelance.Models
public class SaveGameEntriesModel
{
public ObjectId SaveDataID { get; set; }
public Dictionary<string,uint> SaveDirectoryTreeSize { get; set; }
public string Description { get; set; }
public List<SaveDirectoryDescriptorModel> SaveDirectoryTree { get; set; }
}
}