Digitale Zylinder eingebaut
This commit is contained in:
@@ -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[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user