feat(#119): dossier famille = 1 par famille, N enfants; retrait repas/type_contrat/budget; adresse dans API parents

Made-with: Cursor
This commit is contained in:
2026-03-18 01:52:28 +01:00
parent 5465117238
commit 1772744c81
6 changed files with 138 additions and 15 deletions
@@ -15,6 +15,12 @@ export class DossierFamilleParentDto {
nom?: string;
@ApiProperty({ required: false })
telephone?: string;
@ApiProperty({ required: false })
adresse?: string;
@ApiProperty({ required: false })
ville?: string;
@ApiProperty({ required: false })
code_postal?: string;
@ApiProperty({ enum: StatutUtilisateurType })
statut: StatutUtilisateurType;
@ApiProperty({ required: false, description: 'Id du co-parent si couple' })
@@ -39,7 +45,7 @@ export class DossierFamilleEnfantDto {
status: StatutEnfantType;
}
/** Dossier (parent+enfant) avec presentation */
/** Dossier (parent+enfant) avec presentation inscription famille, pas dossier de garde */
export class DossierFamillePresentationDto {
@ApiProperty()
id: string;
@@ -47,14 +53,8 @@ export class DossierFamillePresentationDto {
id_parent: string;
@ApiProperty()
id_enfant: string;
@ApiProperty({ required: false, description: 'Texte de présentation' })
@ApiProperty({ required: false, description: 'Texte de motivation' })
presentation?: string;
@ApiProperty({ required: false })
type_contrat?: string;
@ApiProperty()
repas: boolean;
@ApiProperty({ required: false })
budget?: number;
@ApiProperty({ enum: StatutDossierType })
statut: StatutDossierType;
}