cylinder entity umbenannnt
This commit is contained in:
@@ -23,7 +23,7 @@ export class Cylinder {
|
|||||||
@Column({ name:'description', type: 'text', nullable: true })
|
@Column({ name:'description', type: 'text', nullable: true })
|
||||||
description: string;
|
description: string;
|
||||||
|
|
||||||
@Column({name: 'is_digital', type: 'boolean', default: false})
|
@Column({name: 'digital', type: 'boolean', default: false})
|
||||||
isDigital: boolean;
|
isDigital: boolean;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<mat-hint>Zylinderlänge und co.</mat-hint>
|
<mat-hint>Zylinderlänge und co.</mat-hint>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-checkbox formControlName="isDigital">Digitales Schloss</mat-checkbox>
|
<mat-checkbox formControlName="digital">Digitales Schloss</mat-checkbox>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export class CreateCylinderComponent {
|
|||||||
name: new FormControl<string | null>(null, Validators.required),
|
name: new FormControl<string | null>(null, Validators.required),
|
||||||
system: new FormControl<any>(null, Validators.required),
|
system: new FormControl<any>(null, Validators.required),
|
||||||
description: new FormControl<string | null>(null),
|
description: new FormControl<string | null>(null),
|
||||||
isDigital: new FormControl<boolean>(false)
|
digital: new FormControl<boolean>(false)
|
||||||
});
|
});
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user