How to build an model using another model with same data?

I customize a model X which take different type(a, b, c …corresponding to different model A B C), when I finished the query and get the data back, it is model X, how am I able to transfer back to model A/B/C?