JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/modules/productcomments/src/Entity/
Upload File :
Current File : /home/cinepatreb/billetterie/modules/productcomments/src/Entity/ProductCommentCriterionLang.php

<?php
/**
 * 2007-2020 PrestaShop SA and Contributors
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0).
 * It is also available through the world-wide-web at this URL: https://opensource.org/licenses/AFL-3.0
 */
declare(strict_types=1);

namespace PrestaShop\Module\ProductComment\Entity;

use Doctrine\ORM\Mapping as ORM;
use PrestaShopBundle\Entity\Lang;

/**
 * @ORM\Table()
 *
 * @ORM\Entity()
 */
class ProductCommentCriterionLang
{
    /**
     * @var ProductCommentCriterion
     *
     * @ORM\Id
     *
     * @ORM\ManyToOne(targetEntity="PrestaShop\Module\ProductComment\Entity\ProductCommentCriterion", inversedBy="criterionLangs")
     *
     * @ORM\JoinColumn(name="id_product_comment_criterion", referencedColumnName="id_product_comment_criterion", nullable=false)
     */
    private $productcommentcriterion;

    /**
     * @var Lang
     *
     * @ORM\Id
     *
     * @ORM\ManyToOne(targetEntity="PrestaShopBundle\Entity\Lang")
     *
     * @ORM\JoinColumn(name="id_lang", referencedColumnName="id_lang", nullable=false, onDelete="CASCADE")
     */
    private $lang;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", nullable=false)
     */
    private $name;

    /**
     * @return ProductCommentCriterion
     */
    public function getProductCommentCriterion()
    {
        return $this->productcommentcriterion;
    }

    public function setProductCommentCriterion(ProductCommentCriterion $productcommentcriterion): self
    {
        $this->productcommentcriterion = $productcommentcriterion;

        return $this;
    }

    /**
     * @return Lang
     */
    public function getLang()
    {
        return $this->lang;
    }

    /**
     * @param Lang $lang
     */
    public function setLang(Lang $lang): self
    {
        $this->lang = $lang;

        return $this;
    }

    public function getName(): string
    {
        return $this->name;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }
}

xxxxx1.0, XXX xxxx