diff options
| author | Tom Harley | 2018-04-17 17:03:14 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-04-17 17:03:14 +0100 |
| commit | 44c14c13bdd7ad91a119564622b811cc70147de8 (patch) | |
| tree | 318420a6bc570bcd3c990d387411e7a205a4e677 /src/db/model/File.ts | |
| parent | Merge branch 'trh/gets' of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/projec... (diff) | |
| parent | World War Files - changed precondition + filled addSubFileToFolder() function... (diff) | |
| download | medicine-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.ts | 18 |
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 |
