handover pdf

This commit is contained in:
Bastian Wagner
2026-03-12 11:41:29 +01:00
parent 93053e0101
commit b72e2d6784
20 changed files with 2891 additions and 33 deletions

View File

@@ -0,0 +1,17 @@
export class KeyHandoverDto {
handoverId!: string;
handoverDate!: Date;
place!: string;
giverName!: string;
giverAddress?: string;
receiverName!: string;
receiverAddress?: string;
keyType!: string;
keyNumber?: string;
quantity!: number;
objectDescription?: string;
notes?: string;
}

View File

@@ -33,6 +33,10 @@ export class KeyHandout {
@ManyToOne(() => User)
user: User;
@Column({ nullable: true })
pdfFormKey: string;
@BeforeInsert()
insertTimestamp() {
if (this.timestamp == null) {