<?php
/**
* Language class represents simple model of Language entity
*
* $Project: Alliancemarkets2 $
* $Id$
*
* @package alliancemarkets2
* @author George Matyas <webexciter@yahoo.com>
* @version $Revision$
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\EntityRepo\LanguageRepo")
* @ORM\Table(name="language")
*/
class Language
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $langId=0;
/**
* @ORM\Column(type="string", length=100)
*/
protected $langName;
/**
* @ORM\Column(type="string", length=100)
*/
protected $langKey;
/**
* @ORM\Column(type="integer")
*/
private $isLive=1;
/**
* Get langId
*
* @return integer
*/
public function getLangId()
{
return $this->langId;
}
/**
* Set langName
*
* @param string $langName
*
* @return Language
*/
public function setLangName($langName)
{
$this->langName = $langName;
return $this;
}
/**
* Get langName
*
* @return string
*/
public function getLangName()
{
return $this->langName;
}
/**
* Set langKey
*
* @param string $langKey
*
* @return Language
*/
public function setLangKey($langKey)
{
$this->langKey = $langKey;
return $this;
}
/**
* Get langKey
*
* @return string
*/
public function getLangKey()
{
return $this->langKey;
}
/**
* Set isLive
*
* @param integer $isLive
*
* @return Language
*/
public function setIsLive($isLive)
{
$this->isLive = $isLive;
return $this;
}
/**
* Get isLive
*
* @return integer
*/
public function getIsLive()
{
return $this->isLive;
}
}