A self-consistent dynamical model of the Milky Way disc set to Gaia data