ER diagram and UML class diagrams