Hi Raja,
I would suggest reading the following:
https://www.mendix.com/blog/working-with-inheritance-saving-you-time-and-sanity/
https://docs.mendix.com/refguide/generalization-and-association/