Also I need to add OneToMany relation from OrderItem to OrderItemActivation entity, as I understand I must create decorator
PHP Code:
<?php
namespace XLite\Module\Romas\ProductActivation\Model;
abstract class OrderItem extends \XLite\Model\OrderItem implements \XLite\Base\IDecorator
{
/**
*
* @var \Doctrine\Common\Collections\Collection
*
* @OneToMany (targetEntity="XLite\Module\Romas\ProductActivation\Model\OrderItemActivation", mappedBy="object", cascade={"all"})
*/
protected $productActivations;
}
Please tell me what should I write in @OneToMany section: how can I set what column in OrderItems table to add?