src/project/OfficeBrain/CustomBundle/CareerBundle/Entity/CareerPosition.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\project\OfficeBrain\CustomBundle\CareerBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as GEDMO;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. use Doctrine\Common\Collections\ArrayCollection;
  7. /**
  8.  * CareerPosition
  9.  *
  10.  * @ORM\Table("tbl_career_position")
  11.  * @ORM\Entity(repositoryClass="App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerPositionRepository")
  12.  */
  13. class CareerPosition
  14. {
  15.     const STATUS_ACTIVE 1;
  16.     
  17.     /**
  18.      * @var integer
  19.      *
  20.      * @ORM\Column(name="id", type="integer")
  21.      * @ORM\Id
  22.      * @ORM\GeneratedValue(strategy="AUTO")
  23.      */
  24.     private $id;
  25.     /**
  26.      * @ORM\ManyToOne(targetEntity="CareerPositionCategory", inversedBy="CareerPosition")
  27.      * @ORM\JoinColumn(name="position_category", referencedColumnName="id")
  28.      */
  29.     private $positionCategory;
  30.     /**
  31.      * @var string
  32.      *
  33.      * @ORM\Column(name="job_title", type="string", length=255)
  34.      */
  35.     private $jobTitle;
  36.     /**
  37.      * @var integer
  38.      *
  39.      * @ORM\Column(name="city_id", type="bigint", length=20,options={"unsigned"=true},nullable=true)
  40.      */
  41.     
  42.     private $cityId;
  43.     
  44.     /**
  45.      * @var integer
  46.      *
  47.      * @ORM\Column(name="state_id", type="bigint", length=20,options={"unsigned"=true},nullable=true)
  48.      */
  49.     private $stateId;
  50.     /**
  51.      * @ORM\ManyToOne(targetEntity="WorkExperience", inversedBy="CareerPosition")
  52.      * @ORM\JoinColumn(name="work_experience_id", referencedColumnName="id")
  53.      */
  54.     private $workExperience;
  55.     /**
  56.      * @var string
  57.      * @ORM\Column(name="education_level",type="text",nullable=true)
  58.      */
  59.     private $educationLevel;
  60.     /**
  61.      * @ORM\ManyToOne(targetEntity="CareerLevel", inversedBy="CareerPosition")
  62.      * @ORM\JoinColumn(name="career_level", referencedColumnName="id")
  63.      */
  64.     private $careerLevel;
  65.     /**
  66.      * @ORM\ManyToOne(targetEntity="Salary", inversedBy="CareerPosition")
  67.      * @ORM\JoinColumn(name="salary_amount", referencedColumnName="id")
  68.      */
  69.     private $salaryAmount;
  70.     /**
  71.      * @var string
  72.      *
  73.      * @ORM\Column(name="experience_requirements", type="text", nullable=true)
  74.      */
  75.     private $experienceRequirements;
  76.     /**
  77.      * @var string
  78.      *
  79.      * @ORM\Column(name="position_skill_set", type="text", nullable=true)
  80.      */
  81.     private $positionSkillSet;
  82.     /**
  83.      * @var string
  84.      *
  85.      * @ORM\Column(name="qualities", type="text", nullable=true)
  86.      */
  87.     private $qualities;
  88.     /**
  89.      * @var string
  90.      *
  91.      * @ORM\Column(name="responsibilities", type="text", nullable=true)
  92.      */
  93.     private $responsibilities;
  94.     /**
  95.      * @var string
  96.      *
  97.      * @ORM\Column(name="job_reference_code", type="string", length=255, nullable=true)
  98.      */
  99.     private $jobReferenceCode;
  100.     
  101.     /**
  102.      * @var string
  103.      *
  104.      * @ORM\Column(name="status", type="boolean", nullable=false)
  105.      */
  106.     private $status self::STATUS_ACTIVE;
  107.     
  108.     /**
  109.      * @var integer
  110.      *
  111.      * @ORM\Column(name="instance_id", type="integer", nullable=true)
  112.      */
  113.     private $instanceId;
  114.     
  115.     /**
  116.      * @var integer
  117.      *
  118.      * @ORM\Column(name="country_id", type="integer", nullable=true)
  119.      */
  120.     private $countryId;
  121.     
  122.     /**
  123.      * @var integer
  124.      *
  125.      * @ORM\Column(name="created_uid", type="integer", nullable=true)
  126.      */
  127.     private $createdUid;
  128.     
  129.     /**
  130.      * @var integer
  131.      *
  132.      * @ORM\Column(name="updated_uid", type="integer", nullable=true)
  133.      */
  134.     private $updatedUid;
  135.     
  136.     /**
  137.      * @var integer
  138.      *
  139.      * @ORM\Column(name="deleted_uid", type="integer", nullable=true)
  140.      */
  141.     private $deletedUid;
  142.     
  143.     /**
  144.      * @var \DateTime
  145.      *
  146.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  147.      */
  148.     private $createdAt;
  149.     
  150.     /**
  151.      * @var \DateTime
  152.      *
  153.      * @Gedmo\Timestampable(on="create")
  154.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  155.      */
  156.     private $updatedAt;
  157.     
  158.     /**
  159.      * @var \DateTime
  160.      *
  161.      * @ORM\Column(name="deleted_at", type="datetime", nullable=true)
  162.      */
  163.     private $deletedAt;
  164.     
  165.     /**
  166.      * Get id
  167.      *
  168.      * @return integer
  169.      */
  170.     public function getId()
  171.     {
  172.         return $this->id;
  173.     }
  174.     /**
  175.      * Set positionCategory
  176.      *
  177.      * @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerPositionCategory $positionCategory
  178.      *
  179.      * @return CareerPosition
  180.      */
  181.     public function setPositionCategory(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerPositionCategory $positionCategory=null)
  182.     {
  183.         $this->positionCategory $positionCategory;
  184.         return $this;
  185.     }
  186.     /**
  187.      * Get positionCategory
  188.      *
  189.      * @return \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerPositionCategory
  190.      */
  191.     public function getPositionCategory()
  192.     {
  193.         return $this->positionCategory;
  194.     }
  195.     /**
  196.      * Set jobTitle
  197.      *
  198.      * @param string $jobTitle
  199.      *
  200.      * @return CareerPosition
  201.      */
  202.     public function setJobTitle($jobTitle)
  203.     {
  204.         $this->jobTitle $jobTitle;
  205.         return $this;
  206.     }
  207.     /**
  208.      * Get jobTitle
  209.      *
  210.      * @return string
  211.      */
  212.     public function getJobTitle()
  213.     {
  214.         return $this->jobTitle;
  215.     }
  216.     /**
  217.      * Set cityId
  218.      *
  219.      * @param integer $cityId
  220.      *
  221.      * @return CareerPosition
  222.      */
  223.     public function setCityId($cityId)
  224.     {
  225.         $this->cityId $cityId;
  226.         return $this;
  227.     }
  228.     /**
  229.      * Get cityId
  230.      *
  231.      * @return integer
  232.      */
  233.     public function getCityId()
  234.     {
  235.         return $this->cityId;
  236.     }
  237.     /**
  238.      * Set stateId
  239.      *
  240.      * @param integer $stateId
  241.      *
  242.      * @return CareerPosition
  243.      */
  244.     public function setStateId($stateId)
  245.     {
  246.         $this->stateId $stateId;
  247.         return $this;
  248.     }
  249.     /**
  250.      * Get stateId
  251.      *
  252.      * @return integer
  253.      */
  254.     public function getStateId()
  255.     {
  256.         return $this->stateId;
  257.     }
  258.     /**
  259.      * Set workExperience
  260.      *
  261.      * @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\WorkExperience $workExperience
  262.      *
  263.      * @return CareerPosition
  264.      */
  265.     public function setWorkExperience(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\WorkExperience $workExperience null)
  266.     {
  267.         $this->workExperience $workExperience;
  268.         return $this;
  269.     }
  270.     /**
  271.      * Get workExperience
  272.      *
  273.      * @return \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\WorkExperience
  274.      */
  275.     public function getWorkExperience()
  276.     {
  277.         return $this->workExperience;
  278.     }
  279.     /**
  280.      * Set educationLevel
  281.      *
  282.      * @param string $educationLevel
  283.      *
  284.      * @return CareerPosition
  285.      */
  286.     public function setEducationLevel($educationLevel)
  287.     {
  288.         $this->educationLevel $educationLevel;
  289.         return $this;
  290.     }
  291.     /**
  292.      * Get educationLevel
  293.      *
  294.      * @return string
  295.      */
  296.     public function getEducationLevel()
  297.     {
  298.         return $this->educationLevel;
  299.     }
  300.     /**
  301.      * Set careerLevel
  302.      *
  303.      * @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerLevel $careerLevel
  304.      *
  305.      * @return CareerPosition
  306.      */
  307.     public function setCareerLevel(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerLevel $careerLevel null)
  308.     {
  309.         $this->careerLevel $careerLevel;
  310.         return $this;
  311.     }
  312.     /**
  313.      * Get careerLevel
  314.      *
  315.      * @return \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerLevel
  316.      */
  317.     public function getCareerLevel()
  318.     {
  319.         return $this->careerLevel;
  320.     }
  321.     /**
  322.      * Set salaryAmount
  323.      *
  324.      * @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\Salary $salaryAmount
  325.      *
  326.      * @return CareerPosition
  327.      */
  328.     public function setSalaryAmount(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\Salary $salaryAmount null)
  329.     {
  330.         $this->salaryAmount $salaryAmount;
  331.         return $this;
  332.     }
  333.     /**
  334.      * Get salaryAmount
  335.      *
  336.      * @return \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\Salary
  337.      */
  338.     public function getSalaryAmount()
  339.     {
  340.         return $this->salaryAmount;
  341.     }
  342.     /**
  343.      * Set experienceRequirements
  344.      *
  345.      * @param string $experienceRequirements
  346.      *
  347.      * @return CareerPosition
  348.      */
  349.     public function setExperienceRequirements($experienceRequirements)
  350.     {
  351.         $this->experienceRequirements $experienceRequirements;
  352.         return $this;
  353.     }
  354.     /**
  355.      * Get experienceRequirements
  356.      *
  357.      * @return string
  358.      */
  359.     public function getExperienceRequirements()
  360.     {
  361.         return $this->experienceRequirements;
  362.     }
  363.     /**
  364.      * Set positionSkillSet
  365.      *
  366.      * @param string $positionSkillSet
  367.      *
  368.      * @return CareerPosition
  369.      */
  370.     public function setPositionSkillSet($positionSkillSet)
  371.     {
  372.         $this->positionSkillSet $positionSkillSet;
  373.         return $this;
  374.     }
  375.     /**
  376.      * Get positionSkillSet
  377.      *
  378.      * @return string
  379.      */
  380.     public function getPositionSkillSet()
  381.     {
  382.         return $this->positionSkillSet;
  383.     }
  384.     /**
  385.      * Set qualities
  386.      *
  387.      * @param string $qualities
  388.      *
  389.      * @return CareerPosition
  390.      */
  391.     public function setQualities($qualities)
  392.     {
  393.         $this->qualities $qualities;
  394.         return $this;
  395.     }
  396.     /**
  397.      * Get qualities
  398.      *
  399.      * @return string
  400.      */
  401.     public function getQualities()
  402.     {
  403.         return $this->qualities;
  404.     }
  405.     /**
  406.      * Set responsibilities
  407.      *
  408.      * @param string $responsibilities
  409.      *
  410.      * @return CareerPosition
  411.      */
  412.     public function setResponsibilities($responsibilities)
  413.     {
  414.         $this->responsibilities $responsibilities;
  415.         return $this;
  416.     }
  417.     /**
  418.      * Get responsibilities
  419.      *
  420.      * @return string
  421.      */
  422.     public function getResponsibilities()
  423.     {
  424.         return $this->responsibilities;
  425.     }
  426.     /**
  427.      * Set jobReferenceCode
  428.      *
  429.      * @param string $jobReferenceCode
  430.      *
  431.      * @return CareerPosition
  432.      */
  433.     public function setJobReferenceCode($jobReferenceCode)
  434.     {
  435.         $this->jobReferenceCode $jobReferenceCode;
  436.         return $this;
  437.     }
  438.     /**
  439.      * Get jobReferenceCode
  440.      *
  441.      * @return string
  442.      */
  443.     public function getJobReferenceCode()
  444.     {
  445.         return $this->jobReferenceCode;
  446.     }
  447.     
  448.     /**
  449.      * Set status
  450.      *
  451.      * @param integer $status
  452.      *
  453.      * @return CareerPosition
  454.      */
  455.     public function setStatus($status)
  456.     {
  457.         $this->status $status;
  458.     
  459.         return $this;
  460.     }
  461.     
  462.     /**
  463.      * Get status
  464.      *
  465.      * @return integer
  466.      */
  467.     public function getStatus()
  468.     {
  469.         return $this->status;
  470.     }
  471.     
  472.     /**
  473.      * Set instanceId
  474.      *
  475.      * @param integer $instanceId
  476.      *
  477.      * @return CareerPosition
  478.      */
  479.     public function setInstanceId($instanceId)
  480.     {
  481.         $this->instanceId $instanceId;
  482.     
  483.         return $this;
  484.     }
  485.     
  486.     /**
  487.      * Get instanceId
  488.      *
  489.      * @return integer
  490.      */
  491.     public function getInstanceId()
  492.     {
  493.         return $this->instanceId;
  494.     }
  495.     
  496.     /**
  497.      * Set countryId
  498.      *
  499.      * @param integer $countryId
  500.      *
  501.      * @return CareerPosition
  502.      */
  503.     public function setCountryId($countryId)
  504.     {
  505.         $this->countryId $countryId;
  506.     
  507.         return $this;
  508.     }
  509.     
  510.     /**
  511.      * Get countryId
  512.      *
  513.      * @return integer
  514.      */
  515.     public function getCountryId()
  516.     {
  517.         return $this->countryId;
  518.     }
  519.     
  520.     /**
  521.      * Set createdUid
  522.      *
  523.      * @param integer $createdUid
  524.      *
  525.      * @return CareerPosition
  526.      */
  527.     public function setCreatedUid($createdUid)
  528.     {
  529.         $this->createdUid $createdUid;
  530.     
  531.         return $this;
  532.     }
  533.     
  534.     /**
  535.      * Get createdUid
  536.      *
  537.      * @return integer
  538.      */
  539.     public function getCreatedUid()
  540.     {
  541.         return $this->createdUid;
  542.     }
  543.     
  544.     /**
  545.      * Set updatedUid
  546.      *
  547.      * @param integer $updatedUid
  548.      *
  549.      * @return CareerPosition
  550.      */
  551.     public function setUpdatedUid($updatedUid)
  552.     {
  553.         $this->updatedUid $updatedUid;
  554.     
  555.         return $this;
  556.     }
  557.     
  558.     /**
  559.      * Get updatedUid
  560.      *
  561.      * @return integer
  562.      */
  563.     public function getUpdatedUid()
  564.     {
  565.         return $this->updatedUid;
  566.     }
  567.     
  568.     /**
  569.      * Set deletedUid
  570.      *
  571.      * @param integer $deletedUid
  572.      *
  573.      * @return CareerPosition
  574.      */
  575.     public function setDeletedUid($deletedUid)
  576.     {
  577.         $this->deletedUid $deletedUid;
  578.     
  579.         return $this;
  580.     }
  581.     
  582.     /**
  583.      * Get deletedUid
  584.      *
  585.      * @return integer
  586.      */
  587.     public function getDeletedUid()
  588.     {
  589.         return $this->deletedUid;
  590.     }
  591.     
  592.     /**
  593.      * Set createdAt
  594.      *
  595.      * @param \DateTime $createdAt
  596.      *
  597.      * @return CareerPosition
  598.      */
  599.     public function setCreatedAt($createdAt)
  600.     {
  601.         $this->createdAt $createdAt;
  602.     
  603.         return $this;
  604.     }
  605.     
  606.     /**
  607.      * Get createdAt
  608.      *
  609.      * @return \DateTime
  610.      */
  611.     public function getCreatedAt()
  612.     {
  613.         return $this->createdAt;
  614.     }
  615.     
  616.     /**
  617.      * Set updatedAt
  618.      *
  619.      * @param \DateTime $updatedAt
  620.      *
  621.      * @return CareerPosition
  622.      */
  623.     public function setUpdatedAt($updatedAt)
  624.     {
  625.         $this->updatedAt $updatedAt;
  626.     
  627.         return $this;
  628.     }
  629.     
  630.     /**
  631.      * Get updatedAt
  632.      *
  633.      * @return \DateTime
  634.      */
  635.     public function getUpdatedAt()
  636.     {
  637.         return $this->updatedAt;
  638.     }
  639.     
  640.     /**
  641.      * Set deletedAt
  642.      *
  643.      * @param \DateTime $deletedAt
  644.      *
  645.      * @return CareerPosition
  646.      */
  647.     public function setDeletedAt($deletedAt)
  648.     {
  649.         $this->deletedAt $deletedAt;
  650.     
  651.         return $this;
  652.     }
  653.     
  654.     /**
  655.      * Get deletedAt
  656.      *
  657.      * @return \DateTime
  658.      */
  659.     public function getDeletedAt()
  660.     {
  661.         return $this->deletedAt;
  662.     }
  663. }