This commit is contained in:
2026-04-17 16:43:30 +07:00
parent e77c5a1ff1
commit 665445e0d6

View File

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