<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Score\BaseBundle\Entity\BaseEntity;
/**
* @ORM\HasLifecycleCallbacks()
* @ORM\Entity
* @ORM\Table(name="cms_language_info")
*/
class LanguageInfo extends BaseEntity
{
/**
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="entity_name", type="string", length=500, nullable=true)
*/
private $entity;
/**
* @ORM\Column(name="entity_id", type="integer", nullable=true)
*/
private $entityId;
/**
* @ORM\Column(name="language", type="string", length=255, nullable=true)
*/
private $language;
/**
* Get the value of id
*/
public function getId()
{
return $this->id;
}
/**
* Set the value of id
*
* @return self
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get the value of entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* Set the value of entity
*
* @return self
*/
public function setEntity($entity)
{
$this->entity = $entity;
return $this;
}
/**
* Get the value of entityId
*/
public function getEntityId()
{
return $this->entityId;
}
/**
* Set the value of entityId
*
* @return self
*/
public function setEntityId($entityId)
{
$this->entityId = $entityId;
return $this;
}
/**
* Get the value of language
*/
public function getLanguage()
{
return $this->language;
}
/**
* Set the value of language
*
* @return self
*/
public function setLanguage($language)
{
$this->language = $language;
return $this;
}
}