aboutsummaryrefslogtreecommitdiff
path: root/src/db/model/File.ts
diff options
context:
space:
mode:
authorTom Harley2018-04-17 17:03:14 +0100
committerTom Harley2018-04-17 17:03:14 +0100
commit44c14c13bdd7ad91a119564622b811cc70147de8 (patch)
tree318420a6bc570bcd3c990d387411e7a205a4e677 /src/db/model/File.ts
parentMerge branch 'trh/gets' of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/projec... (diff)
parentWorld War Files - changed precondition + filled addSubFileToFolder() function... (diff)
downloadmedicine-44c14c13bdd7ad91a119564622b811cc70147de8.tar.gz
medicine-44c14c13bdd7ad91a119564622b811cc70147de8.zip

Merge branch ‘trh/gets’ of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/project-code into trh/gets

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