<?phpnamespace CoreBundle\Entity\Vehicles;use Application\Sonata\MediaBundle\Entity\Media;/** * VehicleContent */class VehicleContent{    /**     * @var integer     */    private $id;    /**     * @var string     */    private $title;    /**     * @var string     */    private $description;    /**     * @var string     */    private $content;    /**     * @var string     */    private $main_characteristics;    /**     * @var string     */    private $interesting;    /**     * @var string     */    private $slogan;    /**     * @var string     */    private $language;    /**     * @var string     */    private $seo_title;    /**     * @var string     */    private $seo_description;    /**     * @var string     */    private $seo_keywords;    /**     * @var Vehicle     */    private $vehicle;    /**     * @var Media     */    private $interesting_image;    /**     * Get id     *     * @return integer     */    public function getId()    {        return $this->id;    }    /**     * Set title     *     * @param string $title     *     * @return VehicleContent     */    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 VehicleContent     */    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 VehicleContent     */    public function setContent($content)    {        $this->content = $content;        return $this;    }    /**     * Get content     *     * @return string     */    public function getContent()    {        return $this->content;    }    /**     * Set slogan     *     * @param string $slogan     *     * @return VehicleContent     */    public function setSlogan($slogan)    {        $this->slogan = $slogan;        return $this;    }    /**     * Get slogan     *     * @return string     */    public function getSlogan()    {        return $this->slogan;    }    /**     * Set language     *     * @param string $language     *     * @return VehicleContent     */    public function setLanguage($language)    {        $this->language = $language;        return $this;    }    /**     * Get language     *     * @return string     */    public function getLanguage()    {        return $this->language;    }    /**     * Set seoTitle     *     * @param string $seoTitle     *     * @return VehicleContent     */    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 VehicleContent     */    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 VehicleContent     */    public function setSeoKeywords($seoKeywords)    {        $this->seo_keywords = $seoKeywords;        return $this;    }    /**     * Get seoKeywords     *     * @return string     */    public function getSeoKeywords()    {        return $this->seo_keywords;    }    /**     * Set vehicle     *     * @param Vehicle $vehicle     *     * @return VehicleContent     */    public function setVehicle(Vehicle $vehicle = null)    {        $this->vehicle = $vehicle;        return $this;    }    /**     * Get vehicle     *     * @return Vehicle     */    public function getVehicle()    {        return $this->vehicle;    }    /**     * Set mainCharacteristic     *     * @param string $main_characteristics     *     * @return VehicleMainCharacteristic     */    public function setMainCharacteristics($main_characteristics)    {        if (is_array($main_characteristics)) {            $this->main_characteristics = json_encode($main_characteristics);        }        return $this;    }    /**     * Get mainCharacteristic     *     * @return string     */    public function getMainCharacteristics()    {        return json_decode($this->main_characteristics, true);    }    /**     * Set interesting     *     * @param string $interesting     *     * @return VehicleInteresting     */    public function setInteresting($interesting)    {        if (is_array($interesting)) {            $this->interesting = json_encode($interesting);        }        return $this;    }    /**     * Get mainInteresting     *     * @return string     */    public function getInteresting()    {        return json_decode($this->interesting, true);    }    /**     * Set interesting_image     *     * @param Media $interesting_image     *     */    public function setInterestingImage(Media $interesting_image = null)    {        $this->interesting_image = $interesting_image;        return $this;    }    /**     * Get interesting_image     *     * @return Media     */    public function getInterestingImage()    {        return $this->interesting_image;    }}