src/CoreBundle/Entity/ServicePageCategoryContent.php line 11

Open in your IDE?
  1. <?php
  2. namespace CoreBundle\Entity;
  3. use Application\Sonata\MediaBundle\Entity\Media;
  4. use InsuranceBundle\Entity\InformationDocumentCategoryContent;
  5. /**
  6.  * ServicePageCategoryContent
  7.  */
  8. class ServicePageCategoryContent
  9. {
  10.     /**
  11.      * @var integer
  12.      */
  13.     private $id;
  14.     /**
  15.      * @var string
  16.      */
  17.     private $title;
  18.     /**
  19.      * @var string
  20.      */
  21.     private $description;
  22.     /**
  23.      * @var string
  24.      */
  25.     private $language;
  26.     /**
  27.      * @var string
  28.      */
  29.     private $seo_title;
  30.     /**
  31.      * @var string
  32.      */
  33.     private $seo_description;
  34.     /**
  35.      * @var Media
  36.      */
  37.     private $image;
  38.     /**
  39.      * @var ServicePageCategory
  40.      */
  41.     private $category;
  42.     /**
  43.      * Get id
  44.      *
  45.      * @return integer
  46.      */
  47.     public function getId()
  48.     {
  49.         return $this->id;
  50.     }
  51.     /**
  52.      * Set title
  53.      *
  54.      * @param string $title
  55.      *
  56.      * @return ServicePageCategoryContent
  57.      */
  58.     public function setTitle($title)
  59.     {
  60.         $this->title $title;
  61.         return $this;
  62.     }
  63.     /**
  64.      * Get title
  65.      *
  66.      * @return string
  67.      */
  68.     public function getTitle()
  69.     {
  70.         return $this->title;
  71.     }
  72.     /**
  73.      * Set description
  74.      *
  75.      * @param string $description
  76.      *
  77.      * @return ServicePageCategoryContent
  78.      */
  79.     public function setDescription($description)
  80.     {
  81.         $this->description $description;
  82.         return $this;
  83.     }
  84.     /**
  85.      * Get description
  86.      *
  87.      * @return string
  88.      */
  89.     public function getDescription()
  90.     {
  91.         return $this->description;
  92.     }
  93.     /**
  94.      * Set language
  95.      *
  96.      * @param string $language
  97.      *
  98.      * @return ServicePageCategoryContent
  99.      */
  100.     public function setLanguage($language)
  101.     {
  102.         $this->language $language;
  103.         return $this;
  104.     }
  105.     /**
  106.      * Get language
  107.      *
  108.      * @return string
  109.      */
  110.     public function getLanguage()
  111.     {
  112.         return $this->language;
  113.     }
  114.     /**
  115.      * Set seoTitle
  116.      *
  117.      * @param string $seoTitle
  118.      *
  119.      * @return ServicePageCategoryContent
  120.      */
  121.     public function setSeoTitle($seoTitle)
  122.     {
  123.         $this->seo_title $seoTitle;
  124.         return $this;
  125.     }
  126.     /**
  127.      * Get seoTitle
  128.      *
  129.      * @return string
  130.      */
  131.     public function getSeoTitle()
  132.     {
  133.         return $this->seo_title;
  134.     }
  135.     /**
  136.      * Set seoDescription
  137.      *
  138.      * @param string $seoDescription
  139.      *
  140.      * @return ServicePageCategoryContent
  141.      */
  142.     public function setSeoDescription($seoDescription)
  143.     {
  144.         $this->seo_description $seoDescription;
  145.         return $this;
  146.     }
  147.     /**
  148.      * Get seoDescription
  149.      *
  150.      * @return string
  151.      */
  152.     public function getSeoDescription()
  153.     {
  154.         return $this->seo_description;
  155.     }
  156.     /**
  157.      * Set image
  158.      *
  159.      * @param Media $image
  160.      *
  161.      * @return ServicePageCategoryContent
  162.      */
  163.     public function setImage(Media $image null)
  164.     {
  165.         $this->image $image;
  166.         return $this;
  167.     }
  168.     /**
  169.      * Get image
  170.      *
  171.      * @return Media
  172.      */
  173.     public function getImage()
  174.     {
  175.         return $this->image;
  176.     }
  177.     /**
  178.      * Set category
  179.      *
  180.      * @param ServicePageCategory $category
  181.      *
  182.      * @return ServicePageCategoryContent
  183.      */
  184.     public function setCategory(ServicePageCategory $category null)
  185.     {
  186.         $this->category $category;
  187.         return $this;
  188.     }
  189.     /**
  190.      * Get category
  191.      *
  192.      * @return ServicePageCategory
  193.      */
  194.     public function getCategory()
  195.     {
  196.         return $this->category;
  197.     }
  198. }