<?php
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* ShopTopicLang
*
* @ORM\Table(name="ps_shop_topics_lang")
*
* @ORM\Entity(repositoryClass="App\Repository\System\ShopTopicLangRepository")
*/
class ShopTopicLang
{
/**
* @ORM\Id()
*
* @ORM\GeneratedValue()
*
* @ORM\Column(type="integer", name="id_shop_topic_lang")
*/
private $id;
/**
* @var ShopTopic
*
* @ORM\ManyToOne (targetEntity="App\Entity\System\ShopTopic", inversedBy="translations")
*
* @ORM\JoinColumn(name="id_shop_topic", referencedColumnName="id_shop_topic", nullable=false)
*/
private $shopTopic;
/**
* @var Language
*
* @ORM\ManyToOne(targetEntity="App\Entity\System\Language")
*
* @ORM\JoinColumn(name="id_lang", referencedColumnName="id_lang", nullable=false)
*/
private $language;
/**
* @var string
*
* @ORM\Column(type="string", name="topic_name")
*/
private $topicName;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id): void
{
$this->id = $id;
}
/**
* @return ShopTopic
*/
public function getShopTopic(): ShopTopic
{
return $this->shopTopic;
}
/**
* @param ShopTopic $shopTopic
*/
public function setShopTopic(ShopTopic $shopTopic): void
{
$this->shopTopic = $shopTopic;
}
/**
* @return Language
*/
public function getLanguage(): Language
{
return $this->language;
}
/**
* @param Language $language
*/
public function setLanguage(Language $language): void
{
$this->language = $language;
}
/**
* @return string
*/
public function getTopicName(): string
{
return $this->topicName;
}
/**
* @param string $topicName
*/
public function setTopicName(string $topicName): void
{
$this->topicName = $topicName;
}
}