src/Entity/System/ProductLangEl.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  *
  7.  * @ORM\Table(name="ps_product_lang_el",
  8.  *       indexes={
  9.  *
  10.  *           @ORM\Index(name="indexed", columns={"indexed"}),
  11.  *           @ORM\Index(name="translations", columns={"translations"}),
  12.  *       }
  13.  * )
  14.  */
  15. class ProductLangEl extends ProductLangBase
  16. {
  17.     /**
  18.      * @var Product
  19.      *
  20.      * @ORM\OneToOne(targetEntity="App\Entity\System\Product", inversedBy="productLangEl")
  21.      *
  22.      * @ORM\JoinColumn(name="id_product", referencedColumnName="id_product")
  23.      */
  24.     private $product;
  25. }