1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 00:33:23 +00:00

stub out fields and secure note models

This commit is contained in:
Kyle Spearrin
2017-09-13 16:54:23 -04:00
parent d2405bc1cc
commit 27216efd1f
9 changed files with 102 additions and 38 deletions

View File

@@ -4,6 +4,7 @@ using Bit.Core.Utilities;
using Newtonsoft.Json;
using Core.Models.Data;
using Bit.Core.Models.Table;
using System.Collections.Generic;
namespace Bit.Core.Models.Api
{
@@ -33,6 +34,7 @@ namespace Bit.Core.Models.Api
[EncryptedString]
[StringLength(1000)]
public string Totp { get; set; }
public IEnumerable<FieldDataModel> Fields { get; set; }
public CipherDetails ToCipherDetails(Guid userId)
{