Extended class of Dubrovin's equations related to the one-dimensional quantum three-body problem