src/Mm/Beton/Planungsatlas/AtlasBundle/Entity/Main/Hotspot.php line 14

Open in your IDE?
  1. <?php
  2. namespace Mm\Beton\Planungsatlas\AtlasBundle\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Class Hotspot
  6.  *
  7.  * @package Mm\Beton\Planungsatlas\AtlasBundle\Entity
  8.  * @ORM\Entity
  9.  * @ORM\Table(name="hotspots")
  10.  */
  11. class Hotspot extends AbstractModel
  12. {
  13.     /**
  14.      * @ORM\Column(type="integer")
  15.      * @ORM\Id
  16.      * @ORM\GeneratedValue(strategy="AUTO")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @ORM\Column(type="string", length=5, nullable=false)
  21.      */
  22.     private $code;
  23.     /**
  24.      * @ORM\Column(type="string", length=128, nullable=false)
  25.      */
  26.     private $title;
  27.     /**
  28.      * @return mixed
  29.      */
  30.     public function getId()
  31.     {
  32.         return $this->id;
  33.     }
  34.     /**
  35.      * @param mixed $id
  36.      */
  37.     public function setId($id)
  38.     {
  39.         $this->id $id;
  40.     }
  41.     /**
  42.      * @return mixed
  43.      */
  44.     public function getCode()
  45.     {
  46.         return $this->code;
  47.     }
  48.     /**
  49.      * @param mixed $code
  50.      */
  51.     public function setCode($code)
  52.     {
  53.         $this->code $code;
  54.     }
  55.     /**
  56.      * @return mixed
  57.      */
  58.     public function getTitle()
  59.     {
  60.         return $this->title;
  61.     }
  62.     /**
  63.      * @param mixed $title
  64.      */
  65.     public function setTitle($title)
  66.     {
  67.         $this->title $title;
  68.     }
  69. }