Change entityName and tableDefinition functions for generated entities