- Lieu naissance obligatoire (DTO), persistance Users + migration SQL - BDD.sql: colonnes lieu_naissance_*, tables dossier_famille / dossier_famille_enfants - inscrireAMComplet: places_available = capacite_accueil - GET dossier AM: user.lieu_naissance_*, consentement_photo - docs/TEMP_FRONT_alignement_AM.md pour équipe Flutter - Parité: email accusé AM, RegisterAmResponseDto (numero_dossier) Made-with: Cursor
18 lines
605 B
TypeScript
18 lines
605 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
||
import { StatutUtilisateurType } from 'src/entities/users.entity';
|
||
|
||
/** Réponse 201 POST /auth/register/am (alignée sur les champs clés de /auth/register/parent). */
|
||
export class RegisterAmResponseDto {
|
||
@ApiProperty()
|
||
message: string;
|
||
|
||
@ApiProperty({ format: 'uuid' })
|
||
user_id: string;
|
||
|
||
@ApiProperty({ enum: StatutUtilisateurType, example: StatutUtilisateurType.EN_ATTENTE })
|
||
statut: StatutUtilisateurType;
|
||
|
||
@ApiProperty({ example: '2026-000015', description: 'Numéro de dossier attribué à l’inscription' })
|
||
numero_dossier: string;
|
||
}
|