src/OfficeBrain/Bundle/CmsBundle/Entity/CmsMenuRights.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\CmsBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * CmsMenuRights
  6.  *
  7.  * @ORM\Table("tbl_cms_menu_rights")
  8.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\CmsBundle\Repository\CmsMenuRightsRepository")
  9.  */
  10. class CmsMenuRights
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="slug", type="string", length=255)
  24.      */
  25.     private $slug;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="user_type", type="string", length=255)
  30.      */
  31.     private $userType;
  32.     /**
  33.      * @var integer
  34.      *
  35.      * @ORM\Column(name="country_id", type="integer")
  36.      */
  37.     private $countryId;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="menu_items", type="text")
  42.      */
  43.     private $menuItems;
  44.     /**
  45.      * @var integer
  46.      *
  47.      * @ORM\Column(name="instance_id", type="integer")
  48.      */
  49.     private $instanceId;
  50.     /**
  51.      * Get id
  52.      *
  53.      * @return integer
  54.      */
  55.     public function getId()
  56.     {
  57.         return $this->id;
  58.     }
  59.     /**
  60.      * Set slug
  61.      *
  62.      * @param string $slug
  63.      *
  64.      * @return CmsMenuRights
  65.      */
  66.     public function setSlug($slug)
  67.     {
  68.         $this->slug $slug;
  69.         return $this;
  70.     }
  71.     /**
  72.      * Get slug
  73.      *
  74.      * @return string
  75.      */
  76.     public function getSlug()
  77.     {
  78.         return $this->slug;
  79.     }
  80.     /**
  81.      * Set userType
  82.      *
  83.      * @param string $userType
  84.      *
  85.      * @return CmsMenuRights
  86.      */
  87.     public function setUserType($userType)
  88.     {
  89.         $this->userType $userType;
  90.         return $this;
  91.     }
  92.     /**
  93.      * Get userType
  94.      *
  95.      * @return string
  96.      */
  97.     public function getUserType()
  98.     {
  99.         return $this->userType;
  100.     }
  101.     /**
  102.      * Set countryId
  103.      *
  104.      * @param integer $countryId
  105.      *
  106.      * @return CmsMenuRights
  107.      */
  108.     public function setCountryId($countryId)
  109.     {
  110.         $this->countryId $countryId;
  111.         return $this;
  112.     }
  113.     /**
  114.      * Get countryId
  115.      *
  116.      * @return integer
  117.      */
  118.     public function getCountryId()
  119.     {
  120.         return $this->countryId;
  121.     }
  122.     /**
  123.      * Set menuItems
  124.      *
  125.      * @param string $menuItems
  126.      *
  127.      * @return CmsMenuRights
  128.      */
  129.     public function setMenuItems($menuItems)
  130.     {
  131.         $this->menuItems $menuItems;
  132.         return $this;
  133.     }
  134.     /**
  135.      * Get menuItems
  136.      *
  137.      * @return string
  138.      */
  139.     public function getMenuItems()
  140.     {
  141.         return $this->menuItems;
  142.     }
  143.     /**
  144.      * Set instanceId
  145.      *
  146.      * @param integer $instanceId
  147.      *
  148.      * @return CmsMenuRights
  149.      */
  150.     public function setInstanceId($instanceId)
  151.     {
  152.         $this->instanceId $instanceId;
  153.         return $this;
  154.     }
  155.     /**
  156.      * Get instanceId
  157.      *
  158.      * @return integer
  159.      */
  160.     public function getInstanceId()
  161.     {
  162.         return $this->instanceId;
  163.     }
  164. }