gestion patterns