General model of vertical distribution of stars in the Milky Way using complete Jeans equations