mirror of
https://github.com/bitwarden/mobile
synced 2026-01-19 00:43:18 +00:00
more models
This commit is contained in:
21
src/Core/Models/Data/FieldData.cs
Normal file
21
src/Core/Models/Data/FieldData.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Models.Api;
|
||||
|
||||
namespace Bit.Core.Models.Data
|
||||
{
|
||||
public class FieldData : Data
|
||||
{
|
||||
public FieldData() { }
|
||||
|
||||
public FieldData(FieldApi data)
|
||||
{
|
||||
Type = data.Type;
|
||||
Name = data.Name;
|
||||
Value = data.Value;
|
||||
}
|
||||
|
||||
public FieldType Type { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user