src/Entity/Product/ProductTranslation.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Product;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Sylius\Component\Core\Model\ProductTranslation as BaseProductTranslation;
  6. /**
  7.  * @ORM\Entity
  8.  * @ORM\Table(name="sylius_product_translation")
  9.  */
  10. class ProductTranslation extends BaseProductTranslation
  11. {
  12.     /**
  13.      * @ORM\Column(name="technical_documentation", type="text", nullable=true)
  14.      */
  15.     private ?string $technicalDocumentation null;
  16.     /**
  17.      * @ORM\Column(name="composition", type="text", nullable=true)
  18.      */
  19.     private ?string $composition null;
  20.     /**
  21.      * @ORM\Column(name="subtitle", type="text", nullable=true)
  22.      */
  23.     private ?string $subtitle null;
  24.     /**
  25.      * @ORM\Column(name="informations", type="text", nullable=true)
  26.      */
  27.     private ?string $informations null;
  28.     /**
  29.      * @ORM\Column(name="advantages", type="text", nullable=true)
  30.      */
  31.     private ?string $advantages null;
  32.     /**
  33.      * @ORM\Column(name="guarantees", type="text", nullable=true)
  34.      */
  35.     private ?string $guarantees null;
  36.     /**
  37.      * @return string
  38.      */
  39.     public function getTechnicalDocumentation(): ?string
  40.     {
  41.         return $this->technicalDocumentation;
  42.     }
  43.     /**
  44.      * @param string $technicalDocumentation
  45.      */
  46.     public function setTechnicalDocumentation(?string $technicalDocumentation): void
  47.     {
  48.         $this->technicalDocumentation $technicalDocumentation;
  49.     }
  50.     /**
  51.      * @return string|null
  52.      */
  53.     public function getComposition(): ?string
  54.     {
  55.         return $this->composition;
  56.     }
  57.     /**
  58.      * @param string|null $composition
  59.      */
  60.     public function setComposition(?string $composition): void
  61.     {
  62.         $this->composition $composition;
  63.     }
  64.     /**
  65.      * @return string|null
  66.      */
  67.     public function getAdvantages(): ?string
  68.     {
  69.         return $this->advantages;
  70.     }
  71.     /**
  72.      * @param string|null $advantages
  73.      */
  74.     public function setAdvantages(?string $advantages): void
  75.     {
  76.         $this->advantages $advantages;
  77.     }
  78.     /**
  79.      * @return string|null
  80.      */
  81.     public function getGuarantees(): ?string
  82.     {
  83.         return $this->guarantees;
  84.     }
  85.     /**
  86.      * @param string|null $guarantees
  87.      */
  88.     public function setGuarantees(?string $guarantees): void
  89.     {
  90.         $this->guarantees $guarantees;
  91.     }
  92.     public function getSubtitle(): ?string
  93.     {
  94.         return $this->subtitle;
  95.     }
  96.     public function setSubtitle(?string $subtitle): void
  97.     {
  98.         $this->subtitle $subtitle;
  99.     }
  100.     public function getInformations(): ?string
  101.     {
  102.         return $this->informations;
  103.     }
  104.     public function setInformations(?string $informations): void
  105.     {
  106.         $this->informations $informations;
  107.     }
  108. }