mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
attachment models
This commit is contained in:
24
src/Core/Models/View/AttachmentView.cs
Normal file
24
src/Core/Models/View/AttachmentView.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Bit.Core.Models.Domain;
|
||||
|
||||
namespace Bit.Core.Models.View
|
||||
{
|
||||
public class AttachmentView : View
|
||||
{
|
||||
public AttachmentView() { }
|
||||
|
||||
public AttachmentView(Attachment a)
|
||||
{
|
||||
Id = a.Id;
|
||||
Url = a.Url;
|
||||
Size = a.Size;
|
||||
SizeName = a.SizeName;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string Size { get; set; }
|
||||
public string SizeName { get; set; }
|
||||
public string FileName { get; set; }
|
||||
public SymmetricCryptoKey Key { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user