Having same fields in two tables indicate code smell. Find the concept
that is represented by those attributes and create a new model for it.
Then use composed of macro in ur other two classes.
Having same fields in two tables indicate code smell. Find the concept
that is represented by those attributes and create a new model for it.
Then use composed of macro in ur other two classes.