Agregar campo username a User entity y DTO

- Columna username (unique, nullable) en auth.users
- Campo username en CreateUserDto y UpdateUserDto

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 11:47:37 -04:00
parent 6e0ad420ab
commit 8b6483aa7d
971 changed files with 16339 additions and 752 deletions

View File

@@ -18,6 +18,7 @@ export class CreateUserDto {
@ApiProperty({ description: 'Last name', example: 'Doe' })
@IsString()
lastName: string;
@ApiPropertyOptional({ description: 'Username', example: 'johndoe' }) @IsOptional() @IsString() username?: string;
@ApiPropertyOptional({ description: 'Phone number', example: '+1234567890' })
@IsOptional()