<?php
namespace CoreBundle\Entity;
use Application\Sonata\MediaBundle\Entity\Media;
/**
 * PostContent
 */
class PostContent
{
    /**
     * @var integer
     */
    private $id;
    /**
     * @var string
     */
    private $title;
    /**
     * @var string
     */
    private $description;
    /**
     * @var string
     */
    private $content;
    /**
     * @var Post
     */
    private $post;
    /**
     * @var string
     */
    private $language;
    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * Set title
     *
     * @param string $title
     *
     * @return PostContent
     */
    public function setTitle($title)
    {
        $this->title = $title;
        return $this;
    }
    /**
     * Get title
     *
     * @return string
     */
    public function getTitle()
    {
        return $this->title;
    }
    /**
     * Set description
     *
     * @param string $description
     *
     * @return PostContent
     */
    public function setDescription($description)
    {
        $this->description = $description;
        return $this;
    }
    /**
     * Get description
     *
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }
    /**
     * Set content
     *
     * @param string $content
     *
     * @return PostContent
     */
    public function setContent($content)
    {
        $this->content = $content;
        return $this;
    }
    /**
     * Get content
     *
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }
    /**
     * Set post
     *
     * @param Post $post
     *
     * @return PostContent
     */
    public function setPost(Post $post = null)
    {
        $this->post = $post;
        return $this;
    }
    /**
     * Get post
     *
     * @return Post
     */
    public function getPost()
    {
        return $this->post;
    }
    public function __toString()
    {
        return (string) $this->getTitle();
    }
    /**
     * @var Media
     */
    private $image;
    /**
     * Set image
     *
     * @param Media $image
     *
     * @return PostContent
     */
    public function setImage(Media $image = null)
    {
        $this->image = $image;
        return $this;
    }
    /**
     * Get image
     *
     * @return Media
     */
    public function getImage()
    {
        return $this->image;
    }
    /**
     * Set language
     *
     * @param string $language
     *
     * @return PostContent
     */
    public function setLanguage($language)
    {
        $this->language = $language;
        return $this;
    }
    /**
     * Get language
     *
     * @return string
     */
    public function getLanguage()
    {
        return $this->language;
    }
    /**
     * @var string
     */
    private $seo_title;
    /**
     * @var string
     */
    private $seo_description;
    /**
     * @var string
     */
    private $seo_keywords;
    /**
     * Set seoTitle
     *
     * @param string $seoTitle
     *
     * @return PostContent
     */
    public function setSeoTitle($seoTitle)
    {
        $this->seo_title = $seoTitle;
        return $this;
    }
    /**
     * Get seoTitle
     *
     * @return string
     */
    public function getSeoTitle()
    {
        return $this->seo_title;
    }
    /**
     * Set seoDescription
     *
     * @param string $seoDescription
     *
     * @return PostContent
     */
    public function setSeoDescription($seoDescription)
    {
        $this->seo_description = $seoDescription;
        return $this;
    }
    /**
     * Get seoDescription
     *
     * @return string
     */
    public function getSeoDescription()
    {
        return $this->seo_description;
    }
    /**
     * Set seoKeywords
     *
     * @param string $seoKeywords
     *
     * @return PostContent
     */
    public function setSeoKeywords($seoKeywords)
    {
        $this->seo_keywords = $seoKeywords;
        return $this;
    }
    /**
     * Get seoKeywords
     *
     * @return string
     */
    public function getSeoKeywords()
    {
        return $this->seo_keywords;
    }
    /**     * @var string|null     */    private $button_text;    /**     * Set buttonText.     *     * @param string|null $buttonText     *     * @return PostContent     */    public function setButtonText($buttonText = null)    {        $this->button_text = $buttonText;        return $this;    }    /**     * Get buttonText.     *     * @return string|null     */    public function getButtonText()    {        return $this->button_text;    }}