aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/Database/Models/Folder.cs
blob: 118893f7422744bb0087db9438b41a10d6e3e2d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Quality.Storage.Api.Database.Models;

public class Folder : Base.WithOwner
{
	public Folder() { }

	public Folder(Guid createdBy) : base(createdBy) { }

	[MaxLength(200)]
	public string Name { get; set; }

	public Folder Parent { get; set; }
	public Guid? ParentId { get; set; }
	public List<File> Files { get; set; }
	public virtual List<Permission> Permissions { get; set; }
	public bool IsEncrypted { get; set; }
	public bool IsBinned { get; set; }
}