Is there a good way for managing this kind of relation in doctrine:
class Picture { private $id; private $name; } class Product { private $id;