[Backend] Rattachement enfants — parent et AM #115
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contexte — rattachement enfants (parent et AM)
Valable depuis la fiche parent (
enfants_parents) et depuis la fiche AM / fiche enfant (enfants_assistantes_maternelles).Réf. doc : 28_EVOLUTION-FAMILLE-ET-RESPONSABLES.md.
APIs AM déjà livrées avec #131 :
POST/DELETE /assistantes-maternelles/:id/enfants/:enfantId.Affiliation parent ↔ enfant via table
enfants_parents. Vérité métier : liens many-to-many, pas suppression enfant pour retirer un lien.Backend — livré / en cours
POST /parents/:id/enfants/:enfantId— rattacher un enfant existantDELETE /parents/:id/enfants/:enfantId— détacher (garde-fou : ≥1 responsable par enfant)Garde-fous
Labels : backend, api
Branche
feature/140-dashboard-admin-fiches parent/enfants + affiliation-familledepuisdevelop— commit 1dddc679.\n\nPR: https://git.ptits-pas.fr/jmartin/petitspas/compare/develop...feature/140-dashboard-admin-fiches parent/enfants + affiliation-familleRattachement parent – backendto [Backend] Rattachement enfants — parent et AMjmartin referenced this issue2026-07-17 15:45:57 +00:00