src/FoundersBundle/Entity/Biography.php line 10

Open in your IDE?
  1. <?php
  2. namespace FoundersBundle\Entity;
  3. use Application\Sonata\MediaBundle\Entity\Media;
  4. /**
  5.  * Biography
  6.  */
  7. class Biography
  8. {
  9.     /**
  10.      * @var int
  11.      */
  12.     private $id;
  13.     /**
  14.      * @var string
  15.      */
  16.     private $title;
  17.     /**
  18.      * @var string
  19.      */
  20.     private $subtitle;
  21.     /**
  22.      * @var string
  23.      */
  24.     private $description_shot;
  25.     /**
  26.      * @var string
  27.      */
  28.     private $description;
  29.     /**
  30.      * @var string|null
  31.      */
  32.     private $seo_title;
  33.     /**
  34.      * @var string|null
  35.      */
  36.     private $seo_description;
  37.     /**
  38.      * @var string
  39.      */
  40.     private $url;
  41.     /**
  42.      * @var string|null
  43.      */
  44.     private $facebook;
  45.     /**
  46.      * @var string|null
  47.      */
  48.     private $instagram;
  49.     /**
  50.      * @var string|null
  51.      */
  52.     private $linkedin;
  53.     /**
  54.      * @var int
  55.      */
  56.     private $position 0;
  57.     /**
  58.      * @var int
  59.      */
  60.     private $state;
  61.     /**
  62.      * @var Media
  63.      */
  64.     private $image_preview;
  65.     /**
  66.      * @var Media
  67.      */
  68.     private $image;
  69.     /**
  70.      * Get id.
  71.      *
  72.      * @return int
  73.      */
  74.     public function getId()
  75.     {
  76.         return $this->id;
  77.     }
  78.     /**
  79.      * Set title.
  80.      *
  81.      * @param string $title
  82.      *
  83.      * @return Biography
  84.      */
  85.     public function setTitle($title)
  86.     {
  87.         $this->title $title;
  88.         return $this;
  89.     }
  90.     /**
  91.      * Get title.
  92.      *
  93.      * @return string
  94.      */
  95.     public function getTitle()
  96.     {
  97.         return $this->title;
  98.     }
  99.     /**
  100.      * Set subtitle.
  101.      *
  102.      * @param string $subtitle
  103.      *
  104.      * @return Biography
  105.      */
  106.     public function setSubtitle($subtitle)
  107.     {
  108.         $this->subtitle $subtitle;
  109.         return $this;
  110.     }
  111.     /**
  112.      * Get subtitle.
  113.      *
  114.      * @return string
  115.      */
  116.     public function getSubtitle()
  117.     {
  118.         return $this->subtitle;
  119.     }
  120.     /**
  121.      * Set descriptionShot.
  122.      *
  123.      * @param string $descriptionShot
  124.      *
  125.      * @return Biography
  126.      */
  127.     public function setDescriptionShot($descriptionShot)
  128.     {
  129.         $this->description_shot $descriptionShot;
  130.         return $this;
  131.     }
  132.     /**
  133.      * Get descriptionShot.
  134.      *
  135.      * @return string
  136.      */
  137.     public function getDescriptionShot()
  138.     {
  139.         return $this->description_shot;
  140.     }
  141.     /**
  142.      * Set description.
  143.      *
  144.      * @param string $description
  145.      *
  146.      * @return Biography
  147.      */
  148.     public function setDescription($description)
  149.     {
  150.         $this->description $description;
  151.         return $this;
  152.     }
  153.     /**
  154.      * Get description.
  155.      *
  156.      * @return string
  157.      */
  158.     public function getDescription()
  159.     {
  160.         return $this->description;
  161.     }
  162.     /**
  163.      * Set seoTitle.
  164.      *
  165.      * @param string|null $seoTitle
  166.      *
  167.      * @return Biography
  168.      */
  169.     public function setSeoTitle($seoTitle null)
  170.     {
  171.         $this->seo_title $seoTitle;
  172.         return $this;
  173.     }
  174.     /**
  175.      * Get seoTitle.
  176.      *
  177.      * @return string|null
  178.      */
  179.     public function getSeoTitle()
  180.     {
  181.         return $this->seo_title;
  182.     }
  183.     /**
  184.      * Set seoDescription.
  185.      *
  186.      * @param string|null $seoDescription
  187.      *
  188.      * @return Biography
  189.      */
  190.     public function setSeoDescription($seoDescription null)
  191.     {
  192.         $this->seo_description $seoDescription;
  193.         return $this;
  194.     }
  195.     /**
  196.      * Get seoDescription.
  197.      *
  198.      * @return string|null
  199.      */
  200.     public function getSeoDescription()
  201.     {
  202.         return $this->seo_description;
  203.     }
  204.     /**
  205.      * Set url.
  206.      *
  207.      * @param string $url
  208.      *
  209.      * @return Biography
  210.      */
  211.     public function setUrl($url)
  212.     {
  213.         $this->url $url;
  214.         return $this;
  215.     }
  216.     /**
  217.      * Get url.
  218.      *
  219.      * @return string
  220.      */
  221.     public function getUrl()
  222.     {
  223.         return $this->url;
  224.     }
  225.     /**
  226.      * Set facebook.
  227.      *
  228.      * @param string|null $facebook
  229.      *
  230.      * @return Biography
  231.      */
  232.     public function setFacebook($facebook null)
  233.     {
  234.         $this->facebook $facebook;
  235.         return $this;
  236.     }
  237.     /**
  238.      * Get facebook.
  239.      *
  240.      * @return string|null
  241.      */
  242.     public function getFacebook()
  243.     {
  244.         return $this->facebook;
  245.     }
  246.     /**
  247.      * Set instagram.
  248.      *
  249.      * @param string|null $instagram
  250.      *
  251.      * @return Biography
  252.      */
  253.     public function setInstagram($instagram null)
  254.     {
  255.         $this->instagram $instagram;
  256.         return $this;
  257.     }
  258.     /**
  259.      * Get instagram.
  260.      *
  261.      * @return string|null
  262.      */
  263.     public function getInstagram()
  264.     {
  265.         return $this->instagram;
  266.     }
  267.     /**
  268.      * Set linkedin.
  269.      *
  270.      * @param string|null $linkedin
  271.      *
  272.      * @return Biography
  273.      */
  274.     public function setLinkedin($linkedin null)
  275.     {
  276.         $this->linkedin $linkedin;
  277.         return $this;
  278.     }
  279.     /**
  280.      * Get linkedin.
  281.      *
  282.      * @return string|null
  283.      */
  284.     public function getLinkedin()
  285.     {
  286.         return $this->linkedin;
  287.     }
  288.     /**
  289.      * Set position.
  290.      *
  291.      * @param int $position
  292.      *
  293.      * @return Biography
  294.      */
  295.     public function setPosition($position)
  296.     {
  297.         $this->position $position;
  298.         return $this;
  299.     }
  300.     /**
  301.      * Get position.
  302.      *
  303.      * @return int
  304.      */
  305.     public function getPosition()
  306.     {
  307.         return $this->position;
  308.     }
  309.     /**
  310.      * Set state.
  311.      *
  312.      * @param int $state
  313.      *
  314.      * @return Biography
  315.      */
  316.     public function setState($state)
  317.     {
  318.         $this->state $state;
  319.         return $this;
  320.     }
  321.     /**
  322.      * Get state.
  323.      *
  324.      * @return int
  325.      */
  326.     public function getState()
  327.     {
  328.         return $this->state 0;
  329.     }
  330.     /**
  331.      * Set imagePreview.
  332.      *
  333.      * @param Media|null $imagePreview
  334.      *
  335.      * @return Biography
  336.      */
  337.     public function setImagePreview(Media $imagePreview null)
  338.     {
  339.         $this->image_preview $imagePreview;
  340.         return $this;
  341.     }
  342.     /**
  343.      * Get imagePreview.
  344.      *
  345.      * @return Media|null
  346.      */
  347.     public function getImagePreview()
  348.     {
  349.         return $this->image_preview;
  350.     }
  351.     /**
  352.      * Set image.
  353.      *
  354.      * @param Media|null $image
  355.      *
  356.      * @return Biography
  357.      */
  358.     public function setImage(Media $image null)
  359.     {
  360.         $this->image $image;
  361.         return $this;
  362.     }
  363.     /**
  364.      * Get image.
  365.      *
  366.      * @return Media|null
  367.      */
  368.     public function getImage()
  369.     {
  370.         return $this->image;
  371.     }
  372.     /**
  373.      * @var string
  374.      */
  375.     private $philosophy_short;
  376.     /**
  377.      * Set philosophyShort.
  378.      *
  379.      * @param string $philosophyShort
  380.      *
  381.      * @return Biography
  382.      */
  383.     public function setPhilosophyShort($philosophyShort)
  384.     {
  385.         $this->philosophy_short $philosophyShort;
  386.         return $this;
  387.     }
  388.     /**
  389.      * Get philosophyShort.
  390.      *
  391.      * @return string
  392.      */
  393.     public function getPhilosophyShort()
  394.     {
  395.         return $this->philosophy_short;
  396.     }
  397. }