mirror of
https://github.com/bitwarden/server.git
synced 2026-02-03 15:45:19 +08:00
22 lines
469 B
C#
22 lines
469 B
C#
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|