update
This commit is contained in:
@ -27,6 +27,18 @@ export class Room {
|
|||||||
})
|
})
|
||||||
description: string;
|
description: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: 'text',
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
picture: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: 'text',
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
location: string;
|
||||||
|
|
||||||
@ManyToOne(() => Department, { onDelete: "NO ACTION", nullable: true })
|
@ManyToOne(() => Department, { onDelete: "NO ACTION", nullable: true })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
department: Department;
|
department: Department;
|
||||||
|
|||||||
Reference in New Issue
Block a user