<?phpnamespace App\Daikin\BaseBundle\Entity;use Doctrine\ORM\Mapping as ORM;use Doctrine\Common\Collections\ArrayCollection;/** * @ORM\Entity * @ORM\Table(name="static_pages") */class Staticpages{ /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") * * @var integer $id */ protected $id; /** * @ORM\Column(type="string", name="name") * * @var string $name */ protected $name; /** * @ORM\Column(type="string", name="alias") * * @var string $alias */ protected $alias; /** * @ORM\Column(type="text", nullable=true) * * @var string $url */ protected $url; /** * @ORM\Column(type="string", name="lang") * * @var string $lang */ protected $lang; /** * @ORM\Column(type="text", length=65532, name="description") * * @var string $description */ protected $description; /** * @var bool * @ORM\Column(name="showDescriptionOnly", type="boolean") */ private $showDescriptionOnly; /** * @var bool * @ORM\Column(name="showInFooterMenu", type="boolean") */ private $showInFooterMenu; /** * Constructs a new instance */ public function __construct() { $this->showDescriptionOnly = false; $this->showInFooterMenu = true; } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set name * * @param string $name */ public function setName($name) { $this->name = $name; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Set alias * * @param string $alias */ public function setAlias($alias) { $this->alias = $alias; } /** * Get alias * * @return string */ public function getAlias() { return $this->alias; } /** * Set lang * * @param string $lang */ public function setLang($lang) { $this->lang = $lang; } /** * Get lang * * @return string */ public function getLang() { return $this->lang; } /** * Set description * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * Get description * * @return string */ public function getDescription() { return $this->description; } /** * @return string */ public function getUrl() { return $this->url; } /** * @param string $url * @return Staticpages */ public function setUrl($url) { $this->url = $url; return $this; } /** * @return bool */ public function isShowDescriptionOnly() { return $this->showDescriptionOnly; } /** * @param bool $showDescriptionOnly * @return Staticpages */ public function setShowDescriptionOnly($showDescriptionOnly) { $this->showDescriptionOnly = $showDescriptionOnly; return $this; } /** * @return bool */ public function isShowInFooterMenu() { return $this->showInFooterMenu; } /** * @param bool $showInFooterMenu * @return Staticpages */ public function setShowInFooterMenu($showInFooterMenu) { $this->showInFooterMenu = $showInFooterMenu; return $this; }}