public void setBeanSerializer(@Nullable Serializer beanSerializer) {
        module.bind(SQLCodegenModule.BEAN_SERIALIZER, beanSerializer);
    }
Set the Bean serializer to create bean types as well

@param beanSerializer serializer for JavaBeans (default: null)
querydsl-sql-codegen/src/main/java/com/querydsl/sql/codegen/MetaDataExporter.java