diff options
Diffstat (limited to 'src/file/entity/purpose.entity.ts')
| -rw-r--r-- | src/file/entity/purpose.entity.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/file/entity/purpose.entity.ts b/src/file/entity/purpose.entity.ts new file mode 100644 index 0000000..27c3ad6 --- /dev/null +++ b/src/file/entity/purpose.entity.ts @@ -0,0 +1,10 @@ +import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm'; + +@Entity() +export class FilePurpose { + @PrimaryGeneratedColumn() + id: number; + + @Column({ nullable: false }) + name: string; +} |
