src/Notaris/AdminBundle/Entity/FednotLinks.php line 19

Open in your IDE?
  1. <?php
  2. /**
  3.  * Created by PhpStorm.
  4.  * User: lisavandaele
  5.  * Date: 30/01/15
  6.  * Time: 12:53
  7.  */
  8. namespace Notaris\AdminBundle\Entity;
  9. use Doctrine\ORM\Mapping as ORM;
  10. use Gedmo\Mapping\Annotation as Gedmo;
  11. use Symfony\Component\Validator\Constraints as Assert;
  12. /**
  13.  * @ORM\Entity(repositoryClass="FednotLinksRepository")
  14.  * @ORM\Table(name="fednot_links")
  15.  */
  16. class FednotLinks {
  17.     /**
  18.      * @var integer
  19.      *
  20.      * @ORM\Column(name="id", type="integer")
  21.      * @ORM\Id
  22.      * @ORM\GeneratedValue(strategy="AUTO")
  23.      */
  24.     private $id;
  25.     /**
  26.      * @var string
  27.      *
  28.      * @ORM\Column(name="type", type="string", length=255)
  29.      */
  30.     private $type;
  31.     /**
  32.      * @ORM\Column(type="boolean", name="is_active")
  33.      * @Assert\Type("boolean")
  34.      */
  35.     private $isActive;
  36.     /**
  37.      * @ORM\Column(type="boolean", name="is_sven")
  38.      * @Assert\Type("boolean")
  39.      */
  40.     private $isSven;
  41.  
  42.     /**
  43.      * Get id
  44.      *
  45.      * @return integer
  46.      */
  47.     public function getId()
  48.     {
  49.         return $this->id;
  50.     }
  51.     /**
  52.      * Set type
  53.      *
  54.      * @param string $type
  55.      *
  56.      * @return FednotLinks
  57.      */
  58.     public function setType($type)
  59.     {
  60.         $this->type = $type;
  61.         return $this;
  62.     }
  63.     /**
  64.      * Get type
  65.      *
  66.      * @return string
  67.      */
  68.     public function getType()
  69.     {
  70.         return $this->type;
  71.     }
  72.     /**
  73.      * Set isActive
  74.      *
  75.      * @param boolean $isActive
  76.      *
  77.      * @return FednotLinks
  78.      */
  79.     public function setIsActive($isActive)
  80.     {
  81.         $this->isActive = $isActive;
  82.         return $this;
  83.     }
  84.     /**
  85.      * Get isActive
  86.      *
  87.      * @return boolean
  88.      */
  89.     public function getIsActive()
  90.     {
  91.         return $this->isActive;
  92.     }
  93.     /**
  94.      * Set isSven
  95.      *
  96.      * @param boolean $isSven
  97.      *
  98.      * @return FednotLinks
  99.      */
  100.     public function setIsSven($isSven)
  101.     {
  102.         $this->isSven = $isSven;
  103.         return $this;
  104.     }
  105.     /**
  106.      * Get isSven
  107.      *
  108.      * @return boolean
  109.      */
  110.     public function getIsSven()
  111.     {
  112.         return $this->isSven;
  113.     }
  114. }