profile dto added

This commit is contained in:
sdraris 2025-09-22 10:30:08 +02:00
parent f22da94ab4
commit de725dffd7

View File

@ -0,0 +1,22 @@
import { ApiProperty } from '@nestjs/swagger';
import { RoleType, StatutUtilisateurType } from 'src/entities/users.entity';
export class ProfileResponseDto {
@ApiProperty()
id: string;
@ApiProperty()
email: string;
@ApiProperty({ enum: RoleType })
role: RoleType;
@ApiProperty()
prenom: string;
@ApiProperty()
nom: string;
@ApiProperty({ enum: StatutUtilisateurType })
statut: StatutUtilisateurType;
}