Digitale Zylinder eingebaut

This commit is contained in:
Bastian Wagner
2026-02-24 14:55:19 +01:00
parent e5c590165c
commit f7e9ee493b
7 changed files with 42 additions and 27 deletions

View File

@@ -23,6 +23,10 @@ export class Cylinder {
@Column({ name:'description', type: 'text', nullable: true })
description: string;
@Column({name: 'is_digital', type: 'boolean', default: false})
isDigital: boolean;
@ManyToMany(() => Key, (key) => key.cylinder, { onDelete: 'NO ACTION'})
keys: Key[];