F3.1: agregar datos personales al usuario
This commit is contained in:
@@ -19,6 +19,18 @@ export class User extends TimestampedEntity {
|
|||||||
@Column({ type: 'varchar', length: 320, nullable: true })
|
@Column({ type: 'varchar', length: 320, nullable: true })
|
||||||
email!: string | null;
|
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 })
|
@Column({ name: 'password_hash', type: 'text', select: false })
|
||||||
passwordHash!: string;
|
passwordHash!: string;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user