we could add a reference to http://symfony.com/doc/master/cookbook/doctrine/mapping_model_classes.html