mirror of
https://github.com/bitwarden/android.git
synced 2024-11-02 08:03:56 +03:00
20 lines
449 B
C#
20 lines
449 B
C#
|
using Bit.App.Enums;
|
|||
|
using Bit.App.Models.Api;
|
|||
|
|
|||
|
namespace Bit.App.Models
|
|||
|
{
|
|||
|
public class 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; }
|
|||
|
}
|
|||
|
}
|