[MsgPhpEavBundle] Add ORM GeneratedValue annotation

This commit is contained in:
Roland Franssen
2018-04-10 18:31:37 +02:00
committed by GitHub
parent f73468fb15
commit 9bcb43f264
@@ -11,7 +11,7 @@ use MsgPhp\Eav\Entity\Attribute as BaseAttribute;
*/
class Attribute extends BaseAttribute
{
/** @ORM\Id() @ORM\Column(type="msgphp_attribute_id") */
/** @ORM\Id() @ORM\GeneratedValue() @ORM\Column(type="msgphp_attribute_id") */
private $id;
public function __construct(AttributeIdInterface $id)