src/project/OfficeBrain/CustomBundle/CareerBundle/Entity/CareerApplicationExperience.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\project\OfficeBrain\CustomBundle\CareerBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * CareerApplicationExperience
  6.  *
  7.  * @ORM\Table("tbl_career_application_experience")
  8.  * @ORM\Entity(repositoryClass="App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationExperienceRepository")
  9.  */
  10. class CareerApplicationExperience
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity="CareerApplicationUserData", inversedBy="careerApplicationExperience")
  23.      * @ORM\JoinColumn(name="career_application_user_data_id", referencedColumnName="id")
  24.      */
  25.     private $careerApplicationUserDataId;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="company_name", type="string", length=255, nullable=true)
  30.      */
  31.     private $companyName;
  32.     /**
  33.      * @var \DateTime
  34.      *
  35.      * @ORM\Column(name="from_date", type="datetime", nullable=true)
  36.      */
  37.     private $fromDate;
  38.     /**
  39.      * @var \DateTime
  40.      *
  41.      * @ORM\Column(name="to_date", type="datetime", nullable=true)
  42.      */
  43.     private $toDate;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="duties", type="text", nullable=true)
  48.      */
  49.     private $duties;
  50.     /**
  51.      * @var float
  52.      *
  53.      * @ORM\Column(name="wage_start", type="float", nullable=true)
  54.      */
  55.     private $wageStart;
  56.     /**
  57.      * @var float
  58.      *
  59.      * @ORM\Column(name="wage_finish", type="float", nullable=true)
  60.      */
  61.     private $wageFinish;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="leave_reason", type="text", nullable=true)
  66.      */
  67.     private $leaveReason;
  68.     /**
  69.      * Get id
  70.      *
  71.      * @return integer
  72.      */
  73.     public function getId()
  74.     {
  75.         return $this->id;
  76.     }
  77.     /**
  78.      * Set companyName
  79.      *
  80.      * @param string $companyName
  81.      *
  82.      * @return CareerApplicationExperience
  83.      */
  84.     public function setCompanyName($companyName)
  85.     {
  86.         $this->companyName $companyName;
  87.         return $this;
  88.     }
  89.     /**
  90.      * Get companyName
  91.      *
  92.      * @return string
  93.      */
  94.     public function getCompanyName()
  95.     {
  96.         return $this->companyName;
  97.     }
  98.     /**
  99.      * Set fromDate
  100.      *
  101.      * @param \DateTime $fromDate
  102.      *
  103.      * @return CareerApplicationExperience
  104.      */
  105.     public function setFromDate($fromDate)
  106.     {
  107.         $this->fromDate $fromDate;
  108.         return $this;
  109.     }
  110.     /**
  111.      * Get fromDate
  112.      *
  113.      * @return \DateTime
  114.      */
  115.     public function getFromDate()
  116.     {
  117.         return $this->fromDate;
  118.     }
  119.     /**
  120.      * Set toDate
  121.      *
  122.      * @param \DateTime $toDate
  123.      *
  124.      * @return CareerApplicationExperience
  125.      */
  126.     public function setToDate($toDate)
  127.     {
  128.         $this->toDate $toDate;
  129.         return $this;
  130.     }
  131.     /**
  132.      * Get toDate
  133.      *
  134.      * @return \DateTime
  135.      */
  136.     public function getToDate()
  137.     {
  138.         return $this->toDate;
  139.     }
  140.     /**
  141.      * Set duties
  142.      *
  143.      * @param string $duties
  144.      *
  145.      * @return CareerApplicationExperience
  146.      */
  147.     public function setDuties($duties)
  148.     {
  149.         $this->duties $duties;
  150.         return $this;
  151.     }
  152.     /**
  153.      * Get duties
  154.      *
  155.      * @return string
  156.      */
  157.     public function getDuties()
  158.     {
  159.         return $this->duties;
  160.     }
  161.     /**
  162.      * Set wageStart
  163.      *
  164.      * @param float $wageStart
  165.      *
  166.      * @return CareerApplicationExperience
  167.      */
  168.     public function setWageStart($wageStart)
  169.     {
  170.         $this->wageStart $wageStart;
  171.         return $this;
  172.     }
  173.     /**
  174.      * Get wageStart
  175.      *
  176.      * @return float
  177.      */
  178.     public function getWageStart()
  179.     {
  180.         return $this->wageStart;
  181.     }
  182.     /**
  183.      * Set wageFinish
  184.      *
  185.      * @param float $wageFinish
  186.      *
  187.      * @return CareerApplicationExperience
  188.      */
  189.     public function setWageFinish($wageFinish)
  190.     {
  191.         $this->wageFinish $wageFinish;
  192.         return $this;
  193.     }
  194.     /**
  195.      * Get wageFinish
  196.      *
  197.      * @return float
  198.      */
  199.     public function getWageFinish()
  200.     {
  201.         return $this->wageFinish;
  202.     }
  203.     /**
  204.      * Set leaveReason
  205.      *
  206.      * @param string $leaveReason
  207.      *
  208.      * @return CareerApplicationExperience
  209.      */
  210.     public function setLeaveReason($leaveReason)
  211.     {
  212.         $this->leaveReason $leaveReason;
  213.         return $this;
  214.     }
  215.     /**
  216.      * Get leaveReason
  217.      *
  218.      * @return string
  219.      */
  220.     public function getLeaveReason()
  221.     {
  222.         return $this->leaveReason;
  223.     }
  224.     /**
  225.      * Set careerApplicationUserDataId
  226.      *
  227.      * @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationUserData $careerApplicationUserDataId
  228.      *
  229.      * @return CareerApplicationExperience
  230.      */
  231.     public function setCareerApplicationUserDataId(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationUserData $careerApplicationUserDataId null)
  232.     {
  233.         $this->careerApplicationUserDataId $careerApplicationUserDataId;
  234.         return $this;
  235.     }
  236.     /**
  237.      * Get careerApplicationUserDataId
  238.      *
  239.      * @return \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationUserData
  240.      */
  241.     public function getCareerApplicationUserDataId()
  242.     {
  243.         return $this->careerApplicationUserDataId;
  244.     }
  245. }