aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/Database/Models/File.cs
blob: 66404f875f0e5a84f480d104f6dc2b23335db641 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace I2R.Storage.Api.Database.Models;

public class File : Base
{
    public File() { }

    public File(Guid createdBy) : base(createdBy) { }
    public string Name { get; set; }
    public string MimeType { get; set; }
    public long SizeInBytes { get; set; }
    public Folder Folder { get; set; }
    public Guid FolderId { get; set; }
    public bool IsEncrypted { get; set; }
    public bool IsBinned { get; set; }
    public List<Permission> Permissions { get; set; }
}