<?php
namespace DcSiteBundle\Entity;
/**
* VacancyContent
*/
class VacancyContent
{
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $title;
/**
* @var string
*/
private $content;
/**
* @var string
*/
private $language;
/** * @var Vacancy */ private $vacancy;
/**
* @var string
*/
private $city;
/**
* @var string
*/
private $salary;
/**
* @var string
*/
private $experience;
/**
* @var string
*/
private $company_name;
/**
* @var string
*/
private $company_address;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
public function __toString()
{
return (string) $this->title;
}
/**
* Set title
*
* @param string $title
*
* @return VacancyContent
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set content
*
* @param string $content
*
* @return VacancyContent
*/
public function setContent($content)
{
$this->content = $content;
return $this;
}
/**
* Get content
*
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* Set language
*
* @param string $language
*
* @return VacancyContent
*/
public function setLanguage($language)
{
$this->language = $language;
return $this;
}
/**
* Get language
*
* @return string
*/
public function getLanguage()
{
return $this->language;
}
/** * Set vacancy * * @param Vacancy $vacancy * * @return VacancyContent */ public function setVacancy(Vacancy $vacancy = null)
{
$this->vacancy = $vacancy;
return $this;
}
/** * Get vacancy * * @return Vacancy */ public function getVacancy()
{
return $this->vacancy;
}
/**
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* @param $city
* @return $this
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* @return int
*/
public function getSalary()
{
return $this->salary;
}
/**
* @param $salary
* @return $this
*/
public function setSalary($salary)
{
$this->salary = $salary;
return $this;
}
/**
* @return boolean
*/
public function getExperience()
{
return $this->experience;
}
/**
* @param $experience
* @return $this
*/
public function setExperience($experience)
{
$this->experience = $experience;
return $this;
}
public function setCompanyName($companyName)
{
$this->company_name = $companyName;
return $this;
}
/**
* Get companyName
*
* @return string
*/
public function getCompanyName()
{
return $this->company_name;
}
public function setCompanyAddress($companyAddress)
{
$this->company_address = $companyAddress;
return $this;
}
/**
* Get companyAddress
*
* @return string
*/
public function getCompanyAddress()
{
return $this->company_address;
}
}