mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
fixes for databasecontext and json types
This commit is contained in:
@ -10,6 +10,7 @@ namespace Bit.Core.Models.EntityFramework
|
||||
|
||||
public User User { get; set; }
|
||||
public Organization Organization { get; set; }
|
||||
[IgnoreMap]
|
||||
public JsonDocument DataJson
|
||||
{
|
||||
get => _dataJson;
|
||||
@ -19,6 +20,7 @@ namespace Bit.Core.Models.EntityFramework
|
||||
_dataJson = value;
|
||||
}
|
||||
}
|
||||
[IgnoreMap]
|
||||
public JsonDocument AttachmentsJson
|
||||
{
|
||||
get => _attachmentsJson;
|
||||
|
@ -9,7 +9,8 @@ namespace Bit.Core.Models.EntityFramework
|
||||
private JsonDocument _twoFactorProvidersJson;
|
||||
|
||||
public ICollection<Cipher> Ciphers { get; set; }
|
||||
|
||||
|
||||
[IgnoreMap]
|
||||
public JsonDocument TwoFactorProvidersJson
|
||||
{
|
||||
get => _twoFactorProvidersJson;
|
||||
|
@ -10,6 +10,7 @@ namespace Bit.Core.Models.EntityFramework
|
||||
|
||||
public ICollection<Cipher> Ciphers { get; set; }
|
||||
|
||||
[IgnoreMap]
|
||||
public JsonDocument TwoFactorProvidersJson
|
||||
{
|
||||
get => _twoFactorProvidersJson;
|
||||
|
Reference in New Issue
Block a user