From 066b387f2bac7ba34052b69011434f30812cba4f Mon Sep 17 00:00:00 2001 From: enlineawork Date: Mon, 7 Sep 2026 14:11:21 -0300 Subject: [PATCH] F3.1: agregar datos personales al usuario --- api-v3/src/database/entities/user.entity.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api-v3/src/database/entities/user.entity.ts b/api-v3/src/database/entities/user.entity.ts index 4a38447..85bf851 100644 --- a/api-v3/src/database/entities/user.entity.ts +++ b/api-v3/src/database/entities/user.entity.ts @@ -19,6 +19,18 @@ export class User extends TimestampedEntity { @Column({ type: 'varchar', length: 320, nullable: true }) email!: string | null; + @Column({ type: 'varchar', length: 32, nullable: true }) + dni!: string | null; + + @Column({ type: 'varchar', length: 40, nullable: true }) + phone!: string | null; + + @Column({ name: 'job_title', type: 'varchar', length: 160, nullable: true }) + jobTitle!: string | null; + + @Column({ name: 'employee_number', type: 'varchar', length: 80, nullable: true }) + employeeNumber!: string | null; + @Column({ name: 'password_hash', type: 'text', select: false }) passwordHash!: string;