mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 23:54:06 +03:00
21 lines
535 B
C#
21 lines
535 B
C#
using Bit.App.Enums;
|
|
using Bit.App.Models.Data;
|
|
|
|
namespace Bit.App.Models
|
|
{
|
|
public class Field
|
|
{
|
|
public Field() { }
|
|
|
|
public Field(FieldDataModel model)
|
|
{
|
|
Type = model.Type;
|
|
Name = model.Name != null ? new CipherString(model.Name) : null;
|
|
Value = model.Value != null ? new CipherString(model.Value) : null;
|
|
}
|
|
|
|
public FieldType Type { get; set; }
|
|
public CipherString Name { get; set; }
|
|
public CipherString Value { get; set; }
|
|
}
|
|
}
|