<?php
namespace Cms\ModuleBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class FeedSettings
*
* @package Cms\ModuleBundle\Entity
* @ORM\Embeddable
*/
class FeedSettings
{
/**
* @var bool
*
* @ORM\Column(
* type = "boolean",
* options = {"default": false}
* )
*/
protected $blog = false;
/**
* @var bool
*
* @ORM\Column(
* type = "boolean",
* options = {"default": false}
* )
*/
protected $calendar = false;
/**
* @var bool
*
* @ORM\Column(
* type = "boolean",
* options = {"default": false}
* )
*/
protected $news = false;
/**
* @var bool
*
* @ORM\Column(
* type = "boolean",
* options = {"default": false}
* )
*/
protected $alert = false;
/**
* @return bool
*/
public function isBlog()
{
return $this->blog;
}
/**
* @param bool $blog
*/
public function setBlog($blog)
{
$this->blog = $blog;
}
/**
* @return bool
*/
public function isCalendar()
{
return $this->calendar;
}
/**
* @param bool $calendar
*/
public function setCalendar($calendar)
{
$this->calendar = $calendar;
}
/**
* @return bool
*/
public function isNews()
{
return $this->news;
}
/**
* @param bool $news
*/
public function setNews($news)
{
$this->news = $news;
}
/**
* @return bool
*/
public function isAlert()
{
return $this->alert;
}
/**
* @param bool $alert
*/
public function setAlert($alert)
{
$this->alert = $alert;
}
}