mirror of
https://github.com/bitwarden/server
synced 2025-12-25 04:33:26 +00:00
* Move Api files * Move Core files * Move Infrastructure files * Move Sql Files * Move Api Sync files to Vault * Move test vault files * Update Sql.sqlproj paths * Update Codeowners * Fix vault file paths in sqlproj * Update CipherDetails.sql path in sqlproj * Update Core models and entities namespaces * Update namespaces Core Services and Repositories * Missed service namespaces * Update Api namespaces * Update Infrastructure namespaces * Move infrastructure queries that were missed * Tests namespace updates * Admin and Events namespace updates * Remove unused usings * Remove extra CiphersController usings * Rename folder * Fix CipherDetails namespace * Sqlproj fixes * Move stored procs into folders by table * using order fix
21 lines
457 B
C#
21 lines
457 B
C#
using Bit.Core.Utilities;
|
|
using Bit.Core.Vault.Models.Data;
|
|
|
|
namespace Bit.Api.Vault.Models;
|
|
|
|
public class CipherAttachmentModel
|
|
{
|
|
public CipherAttachmentModel() { }
|
|
|
|
public CipherAttachmentModel(CipherAttachment.MetaData data)
|
|
{
|
|
FileName = data.FileName;
|
|
Key = data.Key;
|
|
}
|
|
|
|
[EncryptedStringLength(1000)]
|
|
public string FileName { get; set; }
|
|
[EncryptedStringLength(1000)]
|
|
public string Key { get; set; }
|
|
}
|