src/Notaris/AdminBundle/Entity/Meta.php line 18

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. /**
  12.  * @ORM\Entity
  13.  * @ORM\Table(name="meta")
  14.  */
  15. class Meta {
  16.     /**
  17.      * @var integer
  18.      *
  19.      * @ORM\Column(name="id", type="integer")
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="AUTO")
  22.      */
  23.     private $id;
  24.     /**
  25.      * @var string
  26.      *
  27.      * @ORM\Column(name="og_title", type="text", nullable=true)
  28.      */
  29.     private $ogTitle;
  30.     /**
  31.      *
  32.      * @ORM\Column(name="og_description", type="text", nullable=true)
  33.      */
  34.     private $ogDescription;
  35.     /**
  36.      *
  37.      * @ORM\Column(name="meta_keywords", type="text", nullable=true)
  38.      */
  39.     private $metaKeywords;
  40.     /**
  41.      *
  42.      * @ORM\Column(name="meta_description", type="text", nullable=true)
  43.      */
  44.     private $metaDescription;
  45.     /**
  46.      * Get id
  47.      *
  48.      * @return integer 
  49.      */
  50.     public function getId()
  51.     {
  52.         return $this->id;
  53.     }
  54.     /**
  55.      * Set ogTitle
  56.      *
  57.      * @param string $ogTitle
  58.      * @return Meta
  59.      */
  60.     public function setOgTitle($ogTitle)
  61.     {
  62.         $this->ogTitle = $ogTitle;
  63.         return $this;
  64.     }
  65.     /**
  66.      * Get ogTitle
  67.      *
  68.      * @return string 
  69.      */
  70.     public function getOgTitle()
  71.     {
  72.         return $this->ogTitle;
  73.     }
  74.     /**
  75.      * Set ogDescription
  76.      *
  77.      * @param string $ogDescription
  78.      * @return Meta
  79.      */
  80.     public function setOgDescription($ogDescription)
  81.     {
  82.         $this->ogDescription = $ogDescription;
  83.         return $this;
  84.     }
  85.     /**
  86.      * Get ogDescription
  87.      *
  88.      * @return string 
  89.      */
  90.     public function getOgDescription()
  91.     {
  92.         return $this->ogDescription;
  93.     }
  94.     /**
  95.      * Set metaKeywords
  96.      *
  97.      * @param string $metaKeywords
  98.      * @return Meta
  99.      */
  100.     public function setMetaKeywords($metaKeywords)
  101.     {
  102.         $this->metaKeywords = $metaKeywords;
  103.         return $this;
  104.     }
  105.     /**
  106.      * Get metaKeywords
  107.      *
  108.      * @return string 
  109.      */
  110.     public function getMetaKeywords()
  111.     {
  112.         return $this->metaKeywords;
  113.     }
  114.     /**
  115.      * Set metaDescription
  116.      *
  117.      * @param string $metaDescription
  118.      * @return Meta
  119.      */
  120.     public function setMetaDescription($metaDescription)
  121.     {
  122.         $this->metaDescription = $metaDescription;
  123.         return $this;
  124.     }
  125.     /**
  126.      * Get metaDescription
  127.      *
  128.      * @return string 
  129.      */
  130.     public function getMetaDescription()
  131.     {
  132.         return $this->metaDescription;
  133.     }
  134. }