mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 10:55:43 -05:00
add support for multiple uris on login model.
refactor cipher data models.
This commit is contained in:
21
src/Core/Models/Data/CipherFieldData.cs
Normal file
21
src/Core/Models/Data/CipherFieldData.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Models.Api;
|
||||
|
||||
namespace Bit.Core.Models.Data
|
||||
{
|
||||
public class CipherFieldData
|
||||
{
|
||||
public CipherFieldData() { }
|
||||
|
||||
public CipherFieldData(CipherFieldModel field)
|
||||
{
|
||||
Type = field.Type;
|
||||
Name = field.Name;
|
||||
Value = field.Value;
|
||||
}
|
||||
|
||||
public FieldType Type { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user