template header & footer margins

This commit is contained in:
Julian Krauser 2025-01-01 13:21:28 +01:00
parent b5760202f7
commit cfefcd81d7
10 changed files with 72 additions and 17 deletions

View file

@ -7,15 +7,21 @@ export class templateUsage {
@PrimaryColumn({ type: "varchar", length: 255 })
scope: PermissionModule;
@Column({ type: "number", nullable: true })
@Column({ type: "int", nullable: true })
headerId: number | null;
@Column({ type: "number", nullable: true })
@Column({ type: "int", nullable: true })
bodyId: number | null;
@Column({ type: "number", nullable: true })
@Column({ type: "int", nullable: true })
footerId: number | null;
@Column({ type: "int", nullable: true })
headerHeight: number | null;
@Column({ type: "int", nullable: true })
footerHeight: number | null;
@ManyToOne(() => template, {
nullable: true,
onDelete: "RESTRICT",