update
This commit is contained in:
@ -1,6 +1,4 @@
|
|||||||
import { Entity,
|
import { Entity, OneToOne, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn, ManyToMany } from "typeorm";
|
||||||
OneToOne,
|
|
||||||
PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn, ManyToMany } from "typeorm";
|
|
||||||
|
|
||||||
import { Status } from "../types/status";
|
import { Status } from "../types/status";
|
||||||
import { Department } from "./department";
|
import { Department } from "./department";
|
||||||
@ -35,13 +33,13 @@ export class Room {
|
|||||||
description: string;
|
description: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
type: 'text',
|
type: "text",
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
picture: string;
|
picture: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
type: 'text',
|
type: "text",
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
location: string;
|
location: string;
|
||||||
@ -54,6 +52,11 @@ export class Room {
|
|||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
serviceclass: ServiceClass;
|
serviceclass: ServiceClass;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
floor: number;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: false,
|
nullable: false,
|
||||||
length: 64,
|
length: 64,
|
||||||
|
|||||||
Reference in New Issue
Block a user