import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger'; import { StatutUtilisateurType } from 'src/entities/users.entity'; /** Réponse 201 POST /parents/dossier (#129). */ export class StaffCreateParentDossierResponseDto { @ApiProperty() message: string; @ApiProperty({ example: '2026-000043', description: 'Numéro de dossier famille attribué', }) numero_dossier: string; @ApiProperty({ format: 'uuid', description: 'UUID user du parent pivot' }) parent_user_id: string; @ApiPropertyOptional({ format: 'uuid', nullable: true, description: 'UUID user du co-parent, ou null', }) co_parent_user_id: string | null; @ApiProperty({ enum: StatutUtilisateurType, example: StatutUtilisateurType.ACTIF, }) statut: StatutUtilisateurType; @ApiProperty({ type: [String], format: 'uuid', description: 'IDs des enfants créés', }) enfant_ids: string[]; }