aboutsummaryrefslogtreecommitdiff
path: root/src/db/model/File.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/model/File.ts')
-rw-r--r--src/db/model/File.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/db/model/File.ts b/src/db/model/File.ts
index 4026b85..193a785 100644
--- a/src/db/model/File.ts
+++ b/src/db/model/File.ts
@@ -5,6 +5,24 @@ import { default as User } from './User';
import { FileTypeName, mimes } from '../../files';
+/*
+ * attributes:
+ * - nameInternal
+ * - fullPathInternal
+ * - uuid
+ * - type
+ * - size
+ * - parentFolderId
+ * - containedFilesInternal
+ * - creatorName
+ * - creator
+ * - rootFolderOf
+ * - uploadDate
+ * - modifyDate
+ * - status
+ * - metadataInternal
+*/
+
@Table
export default class File extends Model<File> {
@AllowNull