mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
26 lines
728 B
C#
26 lines
728 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace Bit.App.Models.Page
|
|||
|
{
|
|||
|
public class VaultAttachmentsPageModel
|
|||
|
{
|
|||
|
public class Attachment : List<Attachment>
|
|||
|
{
|
|||
|
public string Id { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
public string SizeName { get; set; }
|
|||
|
public long Size { get; set; }
|
|||
|
public string Url { get; set; }
|
|||
|
|
|||
|
public Attachment(Models.Attachment attachment)
|
|||
|
{
|
|||
|
Id = attachment.Id;
|
|||
|
Name = attachment.FileName?.Decrypt();
|
|||
|
SizeName = attachment.SizeName;
|
|||
|
Size = attachment.Size;
|
|||
|
Url = attachment.Url;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|