1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-28 22:23:35 +00:00
Files
mobile/src/Core/Models/Export/FolderWithId.cs
Matt Gibson 3227daddaf Enable Encrypted json export of vaults (#1174)
* Enable Encrypted json export of vaults

* Match jslib export of non-org ciphers

* Clean up export

* Update src/App/Pages/Settings/ExportVaultPage.xaml.cs

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-12-14 11:56:13 -06:00

22 lines
434 B
C#

using Bit.Core.Models.View;
using Newtonsoft.Json;
namespace Bit.Core.Models.Export
{
public class FolderWithId : Folder
{
public FolderWithId(FolderView obj) : base(obj)
{
Id = obj.Id;
}
public FolderWithId(Domain.Folder obj) : base(obj)
{
Id = obj.Id;
}
[JsonProperty(Order = int.MinValue)]
public string Id { get; set; }
}
}