1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

Add Field.LinkedId (#1617)

This commit is contained in:
Thomas Rittson 2021-11-04 07:27:15 +10:00 committed by GitHub
parent 98c167b1c1
commit 0cb8da2fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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; }
}
}

View File

@ -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; }
}
}