src/OfficeBrain/Bundle/CategoryBundle/Entity/CultureCategoryMapping.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\CategoryBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Entity For CategoryMapping
  6.  * @author OfficeBrain 4246
  7.  */
  8. /**
  9.  * Culture CategoryMapping
  10.  *
  11.  * @ORM\Table(name="tbl_culture_category_mapping")
  12.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\CategoryBundle\Repository\CultureCategoryMappingRepository")
  13.  */
  14. class CultureCategoryMapping
  15. {
  16.     /**
  17.      * @var integer
  18.      *
  19.      * @ORM\Column(name="id", type="bigint",length=20, options={"unsigned"=true})
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="AUTO")
  22.      */
  23.     private $id;
  24.     /**
  25.      * @var integer
  26.      *
  27.      * @ORM\Column(name="pms_id", type="integer" ,nullable=true)
  28.      */
  29.     private $pmsId;
  30.     
  31.     /**
  32.      * @var integer
  33.      *
  34.      * @ORM\Column(name="culture_id", type="integer" ,nullable=true)
  35.      */
  36.     private $cultureId;
  37.     
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="keywords", type="string", length=64, nullable=true)
  42.      */
  43.     private $keywords;
  44.     
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="description", type="text", nullable=true)
  49.      */
  50.     private $description;
  51.     /**
  52.      * Get id
  53.      *
  54.      * @return integer
  55.      */
  56.     public function getId()
  57.     {
  58.         return $this->id;
  59.     }
  60.     /**
  61.      * Set pmsId
  62.      *
  63.      * @param integer $pmsId
  64.      *
  65.      * @return CultureCategoryMapping
  66.      */
  67.     public function setPmsId($pmsId)
  68.     {
  69.         $this->pmsId $pmsId;
  70.         return $this;
  71.     }
  72.     /**
  73.      * Get pmsId
  74.      *
  75.      * @return integer
  76.      */
  77.     public function getPmsId()
  78.     {
  79.         return $this->pmsId;
  80.     }
  81.     /**
  82.      * Set cultureId
  83.      *
  84.      * @param integer $cultureId
  85.      *
  86.      * @return CultureCategoryMapping
  87.      */
  88.     public function setCultureId($cultureId)
  89.     {
  90.         $this->cultureId $cultureId;
  91.         return $this;
  92.     }
  93.     /**
  94.      * Get cultureId
  95.      *
  96.      * @return integer
  97.      */
  98.     public function getCultureId()
  99.     {
  100.         return $this->cultureId;
  101.     }
  102.     /**
  103.      * Set keywords
  104.      *
  105.      * @param string $keywords
  106.      *
  107.      * @return CultureCategoryMapping
  108.      */
  109.     public function setKeywords($keywords)
  110.     {
  111.         $this->keywords $keywords;
  112.         return $this;
  113.     }
  114.     /**
  115.      * Get keywords
  116.      *
  117.      * @return string
  118.      */
  119.     public function getKeywords()
  120.     {
  121.         return $this->keywords;
  122.     }
  123.     /**
  124.      * Set description
  125.      *
  126.      * @param string $description
  127.      *
  128.      * @return CultureCategoryMapping
  129.      */
  130.     public function setDescription($description)
  131.     {
  132.         $this->description $description;
  133.         return $this;
  134.     }
  135.     /**
  136.      * Get description
  137.      *
  138.      * @return string
  139.      */
  140.     public function getDescription()
  141.     {
  142.         return $this->description;
  143.     }
  144. }