From aeb8b66375335e8c9d6cb9cb0d8d7da3d8b79628 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Fri, 15 Mar 2024 20:23:41 +0000 Subject: Initial commit --- src/file/entity/purpose.entity.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/file/entity/purpose.entity.ts (limited to 'src/file/entity/purpose.entity.ts') 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; +} -- cgit v1.2.3-70-g09d2