diff --git a/src/entity/room.ts b/src/entity/room.ts index 3070d78..548c9b9 100644 --- a/src/entity/room.ts +++ b/src/entity/room.ts @@ -27,6 +27,18 @@ export class Room { }) description: string; + @Column({ + type: 'text', + nullable: true, + }) + picture: string; + + @Column({ + type: 'text', + nullable: true, + }) + location: string; + @ManyToOne(() => Department, { onDelete: "NO ACTION", nullable: true }) @JoinColumn() department: Department;