src/DcSiteBundle/Entity/VacancyContent.php line 8

Open in your IDE?
  1. <?php
  2. namespace DcSiteBundle\Entity;
  3. /**
  4.  * VacancyContent
  5.  */
  6. class VacancyContent
  7. {
  8.     /**
  9.      * @var integer
  10.      */
  11.     private $id;
  12.     /**
  13.      * @var string
  14.      */
  15.     private $title;
  16.     /**
  17.      * @var string
  18.      */
  19.     private $content;
  20.     /**
  21.      * @var string
  22.      */
  23.     private $language;
  24.     /**
  25.      * @var Vacancy
  26.      */
  27.     private $vacancy;
  28.     /**
  29.      * @var string
  30.      */
  31.     private $city;
  32.     /**
  33.      * @var string
  34.      */
  35.     private $salary;
  36.     /**
  37.      * @var string
  38.      */
  39.     private $experience;
  40.     /**
  41.      * @var string
  42.      */
  43.     private $company_name;
  44.     /**
  45.      * @var string
  46.      */
  47.     private $company_address;
  48.     /**
  49.      * Get id
  50.      *
  51.      * @return integer
  52.      */
  53.     public function getId()
  54.     {
  55.         return $this->id;
  56.     }
  57.     public function __toString()
  58.     {
  59.         return (string) $this->title;
  60.     }
  61.     /**
  62.      * Set title
  63.      *
  64.      * @param string $title
  65.      *
  66.      * @return VacancyContent
  67.      */
  68.     public function setTitle($title)
  69.     {
  70.         $this->title $title;
  71.         return $this;
  72.     }
  73.     /**
  74.      * Get title
  75.      *
  76.      * @return string
  77.      */
  78.     public function getTitle()
  79.     {
  80.         return $this->title;
  81.     }
  82.     /**
  83.      * Set content
  84.      *
  85.      * @param string $content
  86.      *
  87.      * @return VacancyContent
  88.      */
  89.     public function setContent($content)
  90.     {
  91.         $this->content $content;
  92.         return $this;
  93.     }
  94.     /**
  95.      * Get content
  96.      *
  97.      * @return string
  98.      */
  99.     public function getContent()
  100.     {
  101.         return $this->content;
  102.     }
  103.     /**
  104.      * Set language
  105.      *
  106.      * @param string $language
  107.      *
  108.      * @return VacancyContent
  109.      */
  110.     public function setLanguage($language)
  111.     {
  112.         $this->language $language;
  113.         return $this;
  114.     }
  115.     /**
  116.      * Get language
  117.      *
  118.      * @return string
  119.      */
  120.     public function getLanguage()
  121.     {
  122.         return $this->language;
  123.     }
  124.     /**
  125.      * Set vacancy
  126.      *
  127.      * @param Vacancy $vacancy
  128.      *
  129.      * @return VacancyContent
  130.      */
  131.     public function setVacancy(Vacancy $vacancy null)
  132.     {
  133.         $this->vacancy $vacancy;
  134.         return $this;
  135.     }
  136.     /**
  137.      * Get vacancy
  138.      *
  139.      * @return Vacancy
  140.      */
  141.     public function getVacancy()
  142.     {
  143.         return $this->vacancy;
  144.     }
  145.     /**
  146.      * @return string
  147.      */
  148.     public function getCity()
  149.     {
  150.         return $this->city;
  151.     }
  152.     /**
  153.      * @param $city
  154.      * @return $this
  155.      */
  156.     public function setCity($city)
  157.     {
  158.         $this->city $city;
  159.         return $this;
  160.     }
  161.     /**
  162.      * @return int
  163.      */
  164.     public function getSalary()
  165.     {
  166.         return $this->salary;
  167.     }
  168.     /**
  169.      * @param $salary
  170.      * @return $this
  171.      */
  172.     public function setSalary($salary)
  173.     {
  174.         $this->salary $salary;
  175.         return $this;
  176.     }
  177.     /**
  178.      * @return boolean
  179.      */
  180.     public function getExperience()
  181.     {
  182.         return $this->experience;
  183.     }
  184.     /**
  185.      * @param $experience
  186.      * @return $this
  187.      */
  188.     public function setExperience($experience)
  189.     {
  190.         $this->experience $experience;
  191.         return $this;
  192.     }
  193.     public function setCompanyName($companyName)
  194.     {
  195.         $this->company_name $companyName;
  196.         return $this;
  197.     }
  198.     /**
  199.      * Get companyName
  200.      *
  201.      * @return string
  202.      */
  203.     public function getCompanyName()
  204.     {
  205.         return $this->company_name;
  206.     }
  207.     public function setCompanyAddress($companyAddress)
  208.     {
  209.         $this->company_address $companyAddress;
  210.         return $this;
  211.     }
  212.     /**
  213.      * Get companyAddress
  214.      *
  215.      * @return string
  216.      */
  217.     public function getCompanyAddress()
  218.     {
  219.         return $this->company_address;
  220.     }
  221. }