2019-04-15 14:42:50 +02:00
|
|
|
|
using System;
|
|
|
|
|
using Bit.Core.Models.Domain;
|
2019-03-29 17:52:57 +01:00
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Models.View
|
|
|
|
|
{
|
2019-04-17 14:46:51 +02:00
|
|
|
|
public class FolderView : View, ITreeNodeObject
|
2019-03-29 17:52:57 +01:00
|
|
|
|
{
|
2019-04-15 14:42:50 +02:00
|
|
|
|
public FolderView() { }
|
|
|
|
|
|
|
|
|
|
public FolderView(Folder f)
|
|
|
|
|
{
|
|
|
|
|
Id = f.Id;
|
|
|
|
|
RevisionDate = f.RevisionDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Id { get; set; }
|
2019-03-29 17:52:57 +01:00
|
|
|
|
public string Name { get; set; }
|
2019-04-15 14:42:50 +02:00
|
|
|
|
public DateTime RevisionDate { get; set; }
|
2019-03-29 17:52:57 +01:00
|
|
|
|
}
|
|
|
|
|
}
|