1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 08:13:20 +00:00
This commit is contained in:
Kyle Spearrin
2016-05-02 17:50:16 -04:00
parent bc3d9c4465
commit e05ed4c1f2
33 changed files with 298 additions and 77 deletions

View File

@@ -10,10 +10,11 @@ namespace Bit.App.Models.Data
public FolderData()
{ }
public FolderData(Folder folder)
public FolderData(Folder folder, string userId)
{
Id = folder.Id;
ServerId = folder.ServerId;
UserId = userId;
Name = folder.Name?.EncryptedString;
}
@@ -21,6 +22,7 @@ namespace Bit.App.Models.Data
[AutoIncrement]
public int Id { get; set; }
public string ServerId { get; set; }
public string UserId { get; set; }
public string Name { get; set; }
public DateTime RevisionDateTime { get; set; } = DateTime.UtcNow;