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;