mirror of
https://github.com/bitwarden/mobile
synced 2025-12-24 12:13:18 +00:00
* Add linked fields support * Fix style, don't show linked field if Secure Note * Finish basic linked fields for Login * Use Field.LinkedId to store linked field info * Reset Linked Custom Fields if cipherType changes * Refactor to use ItemView class * Use enum for LinkedId * Detect if no linkedFieldOptions
24 lines
536 B
C#
24 lines
536 B
C#
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;
|
|
LinkedId = data.LinkedId;
|
|
}
|
|
|
|
public FieldType Type { get; set; }
|
|
public string Name { get; set; }
|
|
public string Value { get; set; }
|
|
public LinkedIdType? LinkedId { get; set; }
|
|
}
|
|
}
|