mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 10:32:49 -05:00
post, upload, and save cipher attachment
This commit is contained in:
19
src/Core/Models/Data/Attachment.cs
Normal file
19
src/Core/Models/Data/Attachment.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Bit.Core.Models.Data
|
||||
{
|
||||
public class CipherAttachment
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid? UserId { get; set; }
|
||||
public Guid? OrganizationId { get; set; }
|
||||
public string AttachmentId { get; set; }
|
||||
public string AttachmentData { get; set; }
|
||||
|
||||
public class MetaData
|
||||
{
|
||||
public long Size { get; set; }
|
||||
public string FileName { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user