src/project/OfficeBrain/CustomBundle/CareerBundle/Entity/CareerApplicationReferences.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.  * CareerApplicationReferences
  6.  *
  7.  * @ORM\Table("tbl_career_application_reference")
  8.  * @ORM\Entity(repositoryClass="App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationReferencesRepository")
  9.  */
  10. class CareerApplicationReferences
  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="careerApplicationReferences")
  23.      * @ORM\JoinColumn(name="career_application_user_data_id", referencedColumnName="id")
  24.      */
  25.     private $careerApplicationUserDataId;
  26.     
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  31.      */
  32.     private $name;
  33.     /**
  34.      * @var string
  35.      *
  36.      * @ORM\Column(name="address", type="text", nullable=true)
  37.      */
  38.     private $address;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="occupation", type="text", nullable=true)
  43.      */
  44.     private $occupation;
  45.     /**
  46.      * Get id
  47.      *
  48.      * @return integer
  49.      */
  50.     public function getId()
  51.     {
  52.         return $this->id;
  53.     }
  54.     /**
  55.      * Set name
  56.      *
  57.      * @param string $name
  58.      *
  59.      * @return CareerApplicationReferences
  60.      */
  61.     public function setName($name)
  62.     {
  63.         $this->name $name;
  64.         return $this;
  65.     }
  66.     /**
  67.      * Get name
  68.      *
  69.      * @return string
  70.      */
  71.     public function getName()
  72.     {
  73.         return $this->name;
  74.     }
  75.     /**
  76.      * Set address
  77.      *
  78.      * @param string $address
  79.      *
  80.      * @return CareerApplicationReferences
  81.      */
  82.     public function setAddress($address)
  83.     {
  84.         $this->address $address;
  85.         return $this;
  86.     }
  87.     /**
  88.      * Get address
  89.      *
  90.      * @return string
  91.      */
  92.     public function getAddress()
  93.     {
  94.         return $this->address;
  95.     }
  96.     /**
  97.      * Set occupation
  98.      *
  99.      * @param string $occupation
  100.      *
  101.      * @return CareerApplicationReferences
  102.      */
  103.     public function setOccupation($occupation)
  104.     {
  105.         $this->occupation $occupation;
  106.         return $this;
  107.     }
  108.     /**
  109.      * Get occupation
  110.      *
  111.      * @return string
  112.      */
  113.     public function getOccupation()
  114.     {
  115.         return $this->occupation;
  116.     }
  117.     /**
  118.      * Set userDataId
  119.      *
  120.      * @param integer $userDataId
  121.      *
  122.      * @return CareerApplicationReferences
  123.      */
  124.     public function setUserDataId($userDataId)
  125.     {
  126.         $this->userDataId $userDataId;
  127.         return $this;
  128.     }
  129.     /**
  130.      * Get userDataId
  131.      *
  132.      * @return integer
  133.      */
  134.     public function getUserDataId()
  135.     {
  136.         return $this->userDataId;
  137.     }
  138.     /**
  139.      * Set careerApplicationUserDataId
  140.      *
  141.      * @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationUserData $careerApplicationUserDataId
  142.      *
  143.      * @return CareerApplicationReferences
  144.      */
  145.     public function setCareerApplicationUserDataId(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationUserData $careerApplicationUserDataId null)
  146.     {
  147.         $this->careerApplicationUserDataId $careerApplicationUserDataId;
  148.         return $this;
  149.     }
  150.     /**
  151.      * Get careerApplicationUserDataId
  152.      *
  153.      * @return \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationUserData
  154.      */
  155.     public function getCareerApplicationUserDataId()
  156.     {
  157.         return $this->careerApplicationUserDataId;
  158.     }
  159. }