bitwarden-android/src/App/Models/Field.cs

22 lines
477 B
C#
Raw Normal View History

using Bit.App.Enums;
using Bit.App.Models.Api;
namespace Bit.App.Models
{
public class Field
{
2017-09-26 00:13:20 +03:00
public Field() { }
public Field(FieldDataModel model)
{
Type = model.Type;
Name = new CipherString(model.Name);
Value = new CipherString(model.Value);
}
public FieldType Type { get; set; }
public CipherString Name { get; set; }
public CipherString Value { get; set; }
}
}