mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-29 04:07:37 +02:00
24 lines
604 B
C#
24 lines
604 B
C#
using Bit.Core.Models.Domain;
|
|
|
|
namespace Bit.Core.Models.View
|
|
{
|
|
public class CollectionView : View, ITreeNodeObject
|
|
{
|
|
public CollectionView() { }
|
|
|
|
public CollectionView(Collection c)
|
|
{
|
|
Id = c.Id;
|
|
OrganizationId = c.OrganizationId;
|
|
ReadOnly = c.ReadOnly;
|
|
ExternalId = c.ExternalId;
|
|
}
|
|
|
|
public string Id { get; set; }
|
|
public string OrganizationId { get; set; }
|
|
public string Name { get; set; }
|
|
public string ExternalId { get; set; }
|
|
public bool ReadOnly { get; set; }
|
|
}
|
|
}
|