Conversion of ER diagram to relational model