<?php/** * Created by PhpStorm. * User: lisavandaele * Date: 30/01/15 * Time: 12:53 */namespace Notaris\AdminBundle\Entity;use Doctrine\ORM\Mapping as ORM;use Gedmo\Mapping\Annotation as Gedmo;use Symfony\Component\Validator\Constraints as Assert;/** * @ORM\Entity(repositoryClass="FednotLinksRepository") * @ORM\Table(name="fednot_links") */class FednotLinks { /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @var string * * @ORM\Column(name="type", type="string", length=255) */ private $type; /** * @ORM\Column(type="boolean", name="is_active") * @Assert\Type("boolean") */ private $isActive; /** * @ORM\Column(type="boolean", name="is_sven") * @Assert\Type("boolean") */ private $isSven; /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set type * * @param string $type * * @return FednotLinks */ public function setType($type) { $this->type = $type; return $this; } /** * Get type * * @return string */ public function getType() { return $this->type; } /** * Set isActive * * @param boolean $isActive * * @return FednotLinks */ public function setIsActive($isActive) { $this->isActive = $isActive; return $this; } /** * Get isActive * * @return boolean */ public function getIsActive() { return $this->isActive; } /** * Set isSven * * @param boolean $isSven * * @return FednotLinks */ public function setIsSven($isSven) { $this->isSven = $isSven; return $this; } /** * Get isSven * * @return boolean */ public function getIsSven() { return $this->isSven; }}