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