mirror of
https://github.com/bitwarden/server
synced 2025-12-23 03:33:35 +00:00
Add Field.LinkedId (#1617)
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Bit.Core.Models.Api
|
||||
Type = data.Type;
|
||||
Name = data.Name;
|
||||
Value = data.Value;
|
||||
LinkedId = data.LinkedId ?? null;
|
||||
}
|
||||
|
||||
public FieldType Type { get; set; }
|
||||
@@ -21,5 +22,6 @@ namespace Bit.Core.Models.Api
|
||||
public string Name { get; set; }
|
||||
[EncryptedStringLength(5000)]
|
||||
public string Value { get; set; }
|
||||
public int? LinkedId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,10 +12,12 @@ namespace Bit.Core.Models.Data
|
||||
Type = field.Type;
|
||||
Name = field.Name;
|
||||
Value = field.Value;
|
||||
LinkedId = field.LinkedId ?? null;
|
||||
}
|
||||
|
||||
public FieldType Type { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Value { get; set; }
|
||||
public int? LinkedId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user