aboutsummaryrefslogtreecommitdiff
path: root/src/db/model/File.ts
diff options
context:
space:
mode:
authorjw2552018-04-16 19:34:57 +0100
committerjw2552018-04-16 19:34:57 +0100
commit4ec93e886fc10de2c65e9599dbfca2a70db578e3 (patch)
tree19fc41cf02e37b3094c98af10affd94d2bb08784 /src/db/model/File.ts
parentMerge branch 'trh/gets' of https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-... (diff)
downloadmedicine-4ec93e886fc10de2c65e9599dbfca2a70db578e3.tar.gz
medicine-4ec93e886fc10de2c65e9599dbfca2a70db578e3.zip

World War Files, part 1folder is automatically created at the start of the server. also project folder should now appear in the filesystem

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