<?php
namespace App\project\OfficeBrain\CustomBundle\CareerBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
/**
* CareerApplicationUserData
*
* @ORM\Table("tbl_career_application_user_data")
* @ORM\Entity(repositoryClass="App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationUserDataRepository")
*/
class CareerApplicationUserData
{
CONST STATUS_ACTIVE = 0;
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="position_applied_for", type="string", length=255)
*/
private $positionAppliedFor;
/**
* @var string
*
* @ORM\Column(name="reference", type="string", length=255, nullable=true)
*/
private $reference;
/**
* @var string
*
* @ORM\Column(name="lastname", type="string", length=255)
*/
private $lastname;
/**
* @var string
*
* @ORM\Column(name="firstname", type="string", length=255)
*/
private $firstname;
/**
* @var string
*
* @ORM\Column(name="middlename", type="string", length=255, nullable=true)
*/
private $middlename;
/**
* @var string
*
* @ORM\Column(name="address", type="text", nullable=true)
*/
private $address;
/**
* @var string
*
* @ORM\Column(name="city", type="string", length=255, nullable=true)
*/
private $city;
/**
* @var string
*
* @ORM\Column(name="state", type="string", length=255, nullable=true)
*/
private $state;
/**
* @var string
*
* @ORM\Column(name="zipcode", type="string", length=255, nullable=true)
*/
private $zipcode;
/**
* @var integer
*
* @ORM\Column(name="cell_phone", type="integer", nullable=true)
*/
private $cellPhone;
/**
* @var \DateTime
*
* @ORM\Column(name="date_of_birth", type="datetime", nullable=true)
*/
private $dateOfBirth;
/**
* @var string
*
* @ORM\Column(name="social_security_number", type="string", length=255, nullable=true)
*/
private $socialSecurityNumber;
/**
* @var string
*
* @ORM\Column(name="filed_application_status", type="boolean", nullable=false)
*/
private $filedApplicationStatus = self::STATUS_ACTIVE;
/**
* @var \DateTime
*
* @ORM\Column(name="filed_application_date", type="datetime", nullable=true)
*/
private $filedApplicationDate;
/**
* @var string
*
* @ORM\Column(name="employed_status", type="boolean", nullable=false)
*/
private $employedStatus = self::STATUS_ACTIVE;
/**
* @var \DateTime
*
* @ORM\Column(name="employed_date", type="datetime", nullable=true)
*/
private $employedDate;
/**
* @var string
*
* @ORM\Column(name="currently_employed_status", type="boolean", nullable=false)
*/
private $currentlyEmployedStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="contact_present_employer_status", type="boolean", nullable=false)
*/
private $contactPresentEmployerStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="age_proof_status", type="boolean", nullable=false)
*/
private $ageProofStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="travel_dependency_status", type="boolean", nullable=false)
*/
private $travelDependencyStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="recall_status", type="boolean", nullable=false)
*/
private $recallStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="visa_immigration_status", type="boolean", nullable=false)
*/
private $visaImmigrationStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="physical_limitation_status", type="boolean", nullable=false)
*/
private $physicalLimitationStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="physical_limitations", type="text", nullable=true)
*/
private $physicalLimitations;
/**
* @var string
*
* @ORM\Column(name="convicted_status", type="boolean", nullable=false)
*/
private $convictedStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="convicted_description", type="text", nullable=true)
*/
private $convictedDescription;
/**
* @var \DateTime
*
* @ORM\Column(name="available_for_work_date", type="datetime", nullable=true)
*/
private $availableForWorkDate;
/**
* @var string
*
* @ORM\Column(name="shift_availability", type="string", length=255, nullable=true)
*/
private $shiftAvailability;
/**
* @var string
*
* @ORM\Column(name="height", type="string", length=255, nullable=true)
*/
private $height;
/**
* @var string
*
* @ORM\Column(name="weight", type="string", length=255, nullable=true)
*/
private $weight;
/**
* @var string
*
* @ORM\Column(name="citizen_of_us_status", type="boolean", nullable=false)
*/
private $citizenOfUsStatus = self::STATUS_ACTIVE;
/**
* @var string
*
* @ORM\Column(name="armed_force_status", type="boolean", nullable=false)
*/
private $armedForceStatus = self::STATUS_ACTIVE;
/**
* @var \DateTime
*
* @ORM\Column(name="military_service_records_from", type="datetime", nullable=true)
*/
private $militaryServiceRecordsFrom;
/**
* @var \DateTime
*
* @ORM\Column(name="military_service_records_to", type="datetime", nullable=true)
*/
private $militaryServiceRecordsTo;
/**
* @var string
*
* @ORM\Column(name="military_branch_service", type="string", length=255, nullable=true)
*/
private $militaryBranchService;
/**
* @var string
*
* @ORM\Column(name="military_service_duties", type="text", nullable=true)
*/
private $militaryServiceDuties;
/**
* @var string
*
* @ORM\Column(name="rank_of_enlistment", type="string", length=255, nullable=true)
*/
private $rankOfEnlistment;
/**
* @var string
*
* @ORM\Column(name="rank_of_discharge", type="string", length=255, nullable=true)
*/
private $rankOfDischarge;
/**
* @ORM\OneToMany(targetEntity="\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationEducation", mappedBy="careerApplicationUserDataId")
*/
private $careerApplicationEducation;
/**
* @ORM\OneToMany(targetEntity="\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationExperience", mappedBy="careerApplicationUserDataId")
*/
private $careerApplicationExperience;
/**
* @ORM\OneToMany(targetEntity="\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationReferences", mappedBy="careerApplicationUserDataId")
*/
private $careerApplicationReferences;
/**
* Constructor
*/
public function __construct()
{
$this->careerApplicationEducation = new \Doctrine\Common\Collections\ArrayCollection();
$this->careerApplicationExperience = new \Doctrine\Common\Collections\ArrayCollection();
$this->careerApplicationReferences = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set positionAppliedFor
*
* @param string $positionAppliedFor
*
* @return CareerApplicationUserData
*/
public function setPositionAppliedFor($positionAppliedFor)
{
$this->positionAppliedFor = $positionAppliedFor;
return $this;
}
/**
* Get positionAppliedFor
*
* @return string
*/
public function getPositionAppliedFor()
{
return $this->positionAppliedFor;
}
/**
* Set reference
*
* @param string $reference
*
* @return CareerApplicationUserData
*/
public function setReference($reference)
{
$this->reference = $reference;
return $this;
}
/**
* Get reference
*
* @return string
*/
public function getReference()
{
return $this->reference;
}
/**
* Set lastname
*
* @param string $lastname
*
* @return CareerApplicationUserData
*/
public function setLastname($lastname)
{
$this->lastname = $lastname;
return $this;
}
/**
* Get lastname
*
* @return string
*/
public function getLastname()
{
return $this->lastname;
}
/**
* Set firstname
*
* @param string $firstname
*
* @return CareerApplicationUserData
*/
public function setFirstname($firstname)
{
$this->firstname = $firstname;
return $this;
}
/**
* Get firstname
*
* @return string
*/
public function getFirstname()
{
return $this->firstname;
}
/**
* Set middlename
*
* @param string $middlename
*
* @return CareerApplicationUserData
*/
public function setMiddlename($middlename)
{
$this->middlename = $middlename;
return $this;
}
/**
* Get middlename
*
* @return string
*/
public function getMiddlename()
{
return $this->middlename;
}
/**
* Set address
*
* @param string $address
*
* @return CareerApplicationUserData
*/
public function setAddress($address)
{
$this->address = $address;
return $this;
}
/**
* Get address
*
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Set city
*
* @param string $city
*
* @return CareerApplicationUserData
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* Get city
*
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* Set stateId
*
* @param string $stateId
*
* @return CareerApplicationUserData
*/
public function setState($state)
{
$this->state = $state;
return $this;
}
/**
* Get state
*
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* Set zipcode
*
* @param string $zipcode
*
* @return CareerApplicationUserData
*/
public function setZipcode($zipcode)
{
$this->zipcode = $zipcode;
return $this;
}
/**
* Get zipcode
*
* @return string
*/
public function getZipcode()
{
return $this->zipcode;
}
/**
* Set cellPhone
*
* @param integer $cellPhone
*
* @return CareerApplicationUserData
*/
public function setCellPhone($cellPhone)
{
$this->cellPhone = $cellPhone;
return $this;
}
/**
* Get cellPhone
*
* @return integer
*/
public function getCellPhone()
{
return $this->cellPhone;
}
/**
* Set dateOfBirth
*
* @param \DateTime $dateOfBirth
*
* @return CareerApplicationUserData
*/
public function setDateOfBirth($dateOfBirth)
{
$this->dateOfBirth = $dateOfBirth;
return $this;
}
/**
* Get dateOfBirth
*
* @return \DateTime
*/
public function getDateOfBirth()
{
return $this->dateOfBirth;
}
/**
* Set socialSecurityNumber
*
* @param string $socialSecurityNumber
*
* @return CareerApplicationUserData
*/
public function setSocialSecurityNumber($socialSecurityNumber)
{
$this->socialSecurityNumber = $socialSecurityNumber;
return $this;
}
/**
* Get socialSecurityNumber
*
* @return string
*/
public function getSocialSecurityNumber()
{
return $this->socialSecurityNumber;
}
/**
* Set filedApplicationStatus
*
* @param integer $filedApplicationStatus
*
* @return CareerApplicationUserData
*/
public function setFiledApplicationStatus($filedApplicationStatus)
{
$this->filedApplicationStatus = $filedApplicationStatus;
return $this;
}
/**
* Get filedApplicationStatus
*
* @return integer
*/
public function getFiledApplicationStatus()
{
return $this->filedApplicationStatus;
}
/**
* Set filedApplicationDate
*
* @param \DateTime $filedApplicationDate
*
* @return CareerApplicationUserData
*/
public function setFiledApplicationDate($filedApplicationDate)
{
$this->filedApplicationDate = $filedApplicationDate;
return $this;
}
/**
* Get filedApplicationDate
*
* @return \DateTime
*/
public function getFiledApplicationDate()
{
return $this->filedApplicationDate;
}
/**
* Set employedStatus
*
* @param integer $employedStatus
*
* @return CareerApplicationUserData
*/
public function setEmployedStatus($employedStatus)
{
$this->employedStatus = $employedStatus;
return $this;
}
/**
* Get employedStatus
*
* @return integer
*/
public function getEmployedStatus()
{
return $this->employedStatus;
}
/**
* Set employedDate
*
* @param \DateTime $employedDate
*
* @return CareerApplicationUserData
*/
public function setEmployedDate($employedDate)
{
$this->employedDate = $employedDate;
return $this;
}
/**
* Get employedDate
*
* @return \DateTime
*/
public function getEmployedDate()
{
return $this->employedDate;
}
/**
* Set currentlyEmployedStatus
*
* @param integer $currentlyEmployedStatus
*
* @return CareerApplicationUserData
*/
public function setCurrentlyEmployedStatus($currentlyEmployedStatus)
{
$this->currentlyEmployedStatus = $currentlyEmployedStatus;
return $this;
}
/**
* Get currentlyEmployedStatus
*
* @return integer
*/
public function getCurrentlyEmployedStatus()
{
return $this->currentlyEmployedStatus;
}
/**
* Set contactPresentEmployerStatus
*
* @param integer $contactPresentEmployerStatus
*
* @return CareerApplicationUserData
*/
public function setContactPresentEmployerStatus($contactPresentEmployerStatus)
{
$this->contactPresentEmployerStatus = $contactPresentEmployerStatus;
return $this;
}
/**
* Get contactPresentEmployerStatus
*
* @return integer
*/
public function getContactPresentEmployerStatus()
{
return $this->contactPresentEmployerStatus;
}
/**
* Set ageProofStatus
*
* @param integer $ageProofStatus
*
* @return CareerApplicationUserData
*/
public function setAgeProofStatus($ageProofStatus)
{
$this->ageProofStatus = $ageProofStatus;
return $this;
}
/**
* Get ageProofStatus
*
* @return integer
*/
public function getAgeProofStatus()
{
return $this->ageProofStatus;
}
/**
* Set travelDependencyStatus
*
* @param integer $travelDependencyStatus
*
* @return CareerApplicationUserData
*/
public function setTravelDependencyStatus($travelDependencyStatus)
{
$this->travelDependencyStatus = $travelDependencyStatus;
return $this;
}
/**
* Get travelDependencyStatus
*
* @return integer
*/
public function getTravelDependencyStatus()
{
return $this->travelDependencyStatus;
}
/**
* Set recallStatus
*
* @param integer $recallStatus
*
* @return CareerApplicationUserData
*/
public function setRecallStatus($recallStatus)
{
$this->recallStatus = $recallStatus;
return $this;
}
/**
* Get recallStatus
*
* @return integer
*/
public function getRecallStatus()
{
return $this->recallStatus;
}
/**
* Set visaImmigrationStatus
*
* @param integer $visaImmigrationStatus
*
* @return CareerApplicationUserData
*/
public function setVisaImmigrationStatus($visaImmigrationStatus)
{
$this->visaImmigrationStatus = $visaImmigrationStatus;
return $this;
}
/**
* Get visaImmigrationStatus
*
* @return integer
*/
public function getVisaImmigrationStatus()
{
return $this->visaImmigrationStatus;
}
/**
* Set physicalLimitationStatus
*
* @param integer $physicalLimitationStatus
*
* @return CareerApplicationUserData
*/
public function setPhysicalLimitationStatus($physicalLimitationStatus)
{
$this->physicalLimitationStatus = $physicalLimitationStatus;
return $this;
}
/**
* Get physicalLimitationStatus
*
* @return integer
*/
public function getPhysicalLimitationStatus()
{
return $this->physicalLimitationStatus;
}
/**
* Set physicalLimitations
*
* @param string $physicalLimitations
*
* @return CareerApplicationUserData
*/
public function setPhysicalLimitations($physicalLimitations)
{
$this->physicalLimitations = $physicalLimitations;
return $this;
}
/**
* Get physicalLimitations
*
* @return string
*/
public function getPhysicalLimitations()
{
return $this->physicalLimitations;
}
/**
* Set convictedStatus
*
* @param integer $convictedStatus
*
* @return CareerApplicationUserData
*/
public function setConvictedStatus($convictedStatus)
{
$this->convictedStatus = $convictedStatus;
return $this;
}
/**
* Get convictedStatus
*
* @return integer
*/
public function getConvictedStatus()
{
return $this->convictedStatus;
}
/**
* Set convictedDescription
*
* @param string $convictedDescription
*
* @return CareerApplicationUserData
*/
public function setConvictedDescription($convictedDescription)
{
$this->convictedDescription = $convictedDescription;
return $this;
}
/**
* Get convictedDescription
*
* @return string
*/
public function getConvictedDescription()
{
return $this->convictedDescription;
}
/**
* Set availableForWorkDate
*
* @param \DateTime $availableForWorkDate
*
* @return CareerApplicationUserData
*/
public function setAvailableForWorkDate($availableForWorkDate)
{
$this->availableForWorkDate = $availableForWorkDate;
return $this;
}
/**
* Get availableForWorkDate
*
* @return \DateTime
*/
public function getAvailableForWorkDate()
{
return $this->availableForWorkDate;
}
/**
* Set shiftAvailability
*
* @param string $shiftAvailability
*
* @return CareerApplicationUserData
*/
public function setShiftAvailability($shiftAvailability)
{
$this->shiftAvailability = $shiftAvailability;
return $this;
}
/**
* Get shiftAvailability
*
* @return string
*/
public function getShiftAvailability()
{
return $this->shiftAvailability;
}
/**
* Set height
*
* @param string $height
*
* @return CareerApplicationUserData
*/
public function setHeight($height)
{
$this->height = $height;
return $this;
}
/**
* Get height
*
* @return string
*/
public function getHeight()
{
return $this->height;
}
/**
* Set weight
*
* @param string $weight
*
* @return CareerApplicationUserData
*/
public function setWeight($weight)
{
$this->weight = $weight;
return $this;
}
/**
* Get weight
*
* @return string
*/
public function getWeight()
{
return $this->weight;
}
/**
* Set citizenOfUsStatus
*
* @param integer $citizenOfUsStatus
*
* @return CareerApplicationUserData
*/
public function setCitizenOfUsStatus($citizenOfUsStatus)
{
$this->citizenOfUsStatus = $citizenOfUsStatus;
return $this;
}
/**
* Get citizenOfUsStatus
*
* @return integer
*/
public function getCitizenOfUsStatus()
{
return $this->citizenOfUsStatus;
}
/**
* Set armedForceStatus
*
* @param integer $armedForceStatus
*
* @return CareerApplicationUserData
*/
public function setArmedForceStatus($armedForceStatus)
{
$this->armedForceStatus = $armedForceStatus;
return $this;
}
/**
* Get armedForceStatus
*
* @return integer
*/
public function getArmedForceStatus()
{
return $this->armedForceStatus;
}
/**
* Set militaryServiceRecordsFrom
*
* @param \DateTime $militaryServiceRecordsFrom
*
* @return CareerApplicationUserData
*/
public function setMilitaryServiceRecordsFrom($militaryServiceRecordsFrom)
{
$this->militaryServiceRecordsFrom = $militaryServiceRecordsFrom;
return $this;
}
/**
* Get militaryServiceRecordsFrom
*
* @return \DateTime
*/
public function getMilitaryServiceRecordsFrom()
{
return $this->militaryServiceRecordsFrom;
}
/**
* Set militaryServiceRecordsTo
*
* @param \DateTime $militaryServiceRecordsTo
*
* @return CareerApplicationUserData
*/
public function setMilitaryServiceRecordsTo($militaryServiceRecordsTo)
{
$this->militaryServiceRecordsTo = $militaryServiceRecordsTo;
return $this;
}
/**
* Get militaryServiceRecordsTo
*
* @return \DateTime
*/
public function getMilitaryServiceRecordsTo()
{
return $this->militaryServiceRecordsTo;
}
/**
* Set militaryBranchService
*
* @param string $militaryBranchService
*
* @return CareerApplicationUserData
*/
public function setMilitaryBranchService($militaryBranchService)
{
$this->militaryBranchService = $militaryBranchService;
return $this;
}
/**
* Get militaryBranchService
*
* @return string
*/
public function getMilitaryBranchService()
{
return $this->militaryBranchService;
}
/**
* Set militaryServiceDuties
*
* @param string $militaryServiceDuties
*
* @return CareerApplicationUserData
*/
public function setMilitaryServiceDuties($militaryServiceDuties)
{
$this->militaryServiceDuties = $militaryServiceDuties;
return $this;
}
/**
* Get militaryServiceDuties
*
* @return string
*/
public function getMilitaryServiceDuties()
{
return $this->militaryServiceDuties;
}
/**
* Set rankOfEnlistment
*
* @param string $rankOfEnlistment
*
* @return CareerApplicationUserData
*/
public function setRankOfEnlistment($rankOfEnlistment)
{
$this->rankOfEnlistment = $rankOfEnlistment;
return $this;
}
/**
* Get rankOfEnlistment
*
* @return string
*/
public function getRankOfEnlistment()
{
return $this->rankOfEnlistment;
}
/**
* Set rankOfDischarge
*
* @param string $rankOfDischarge
*
* @return CareerApplicationUserData
*/
public function setRankOfDischarge($rankOfDischarge)
{
$this->rankOfDischarge = $rankOfDischarge;
return $this;
}
/**
* Get rankOfDischarge
*
* @return string
*/
public function getRankOfDischarge()
{
return $this->rankOfDischarge;
}
/**
* Add careerApplicationEducation
*
* @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationEducation $careerApplicationEducation
*
* @return CareerApplicationUserData
*/
public function addCareerApplicationEducation(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationEducation $careerApplicationEducation)
{
$this->careerApplicationEducation[] = $careerApplicationEducation;
return $this;
}
/**
* Remove careerApplicationEducation
*
* @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationEducation $careerApplicationEducation
*/
public function removeCareerApplicationEducation(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationEducation $careerApplicationEducation)
{
$this->careerApplicationEducation->removeElement($careerApplicationEducation);
}
/**
* Get careerApplicationEducation
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getCareerApplicationEducation()
{
return $this->careerApplicationEducation;
}
/**
* Add careerApplicationExperience
*
* @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationExperience $careerApplicationExperience
*
* @return CareerApplicationUserData
*/
public function addCareerApplicationExperience(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationExperience $careerApplicationExperience)
{
$this->careerApplicationExperience[] = $careerApplicationExperience;
return $this;
}
/**
* Remove careerApplicationExperience
*
* @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationExperience $careerApplicationExperience
*/
public function removeCareerApplicationExperience(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationExperience $careerApplicationExperience)
{
$this->careerApplicationExperience->removeElement($careerApplicationExperience);
}
/**
* Get careerApplicationExperience
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getCareerApplicationExperience()
{
return $this->careerApplicationExperience;
}
/**
* Add careerApplicationReference
*
* @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationReferences $careerApplicationReference
*
* @return CareerApplicationUserData
*/
public function addCareerApplicationReference(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationReferences $careerApplicationReference)
{
$this->careerApplicationReferences[] = $careerApplicationReference;
return $this;
}
/**
* Remove careerApplicationReference
*
* @param \App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationReferences $careerApplicationReference
*/
public function removeCareerApplicationReference(\App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerApplicationReferences $careerApplicationReference)
{
$this->careerApplicationReferences->removeElement($careerApplicationReference);
}
/**
* Get careerApplicationReferences
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getCareerApplicationReferences()
{
return $this->careerApplicationReferences;
}
}