Add code gen support for table and entity class parent classes