src/project/OfficeBrain/CustomBundle/CareerBundle/Entity/CareerUserApplication.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\project\OfficeBrain\CustomBundle\CareerBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. /**
  6.  * CareerUserApplication
  7.  *
  8.  * @ORM\Table("tbl_career_user_application")
  9.  * @ORM\Entity(repositoryClass="App\project\OfficeBrain\CustomBundle\CareerBundle\Entity\CareerUserApplicationRepository")
  10.  */
  11. class CareerUserApplication
  12. {
  13.      const STATUS_NEW 0;
  14.     
  15.     /**
  16.      * @var integer
  17.      *
  18.      * @ORM\Column(name="id", type="integer")
  19.      * @ORM\Id
  20.      * @ORM\GeneratedValue(strategy="AUTO")
  21.      */
  22.     private $id;
  23.     
  24.     /**
  25.      * @var integer
  26.      *
  27.      * @ORM\Column(name="career_position_id", type="integer", nullable=true)
  28.      */
  29.     private $careerPositionId;
  30.     /**
  31.      * @var string
  32.      * 
  33.      * @ORM\Column(name="applicant_name", type="string", length=255, nullable=true)
  34.      */
  35.     private $applicantName;
  36.     /**
  37.      * @var string
  38.      * 
  39.      * @ORM\Column(name="applicant_email_id", type="string", length=255, nullable=true)
  40.      */
  41.     private $applicantEmailId;
  42.     /**
  43.      * @var string
  44.      * 
  45.      * @ORM\Column(name="company_name", type="string", length=255, nullable=true)
  46.      */
  47.     private $companyName;
  48.     /**
  49.      * @var string
  50.      * 
  51.      * @ORM\Column(name="upload_resume", type="string", length=255, nullable=true)
  52.      */
  53.     private $uploadResume;
  54.     /**
  55.      * @var string
  56.      *
  57.      * @ORM\Column(name="application_form", type="string", length=255, nullable=true)
  58.      */
  59.     private $applicationForm;
  60.     /**
  61.      * @var string
  62.      * 
  63.      * @ORM\Column(name="cover_letter", type="text", nullable=true)
  64.      */
  65.     private $coverLetter;
  66.     /**
  67.      * @var integer
  68.      *
  69.      * @ORM\Column(name="status", type="integer", nullable=false)
  70.      */
  71.     private $status self::STATUS_NEW;
  72.     /**
  73.      * @var integer
  74.      *
  75.      * @ORM\Column(name="career_application_user_data_id", type="integer", nullable=true)
  76.      */
  77.     private $careerApplicationUserDataId;
  78.     /**
  79.      * @var integer
  80.      *
  81.      * @ORM\Column(name="instance_id", type="integer", nullable=true)
  82.      */
  83.     private $instanceId;
  84.     /**
  85.      * @var integer
  86.      *
  87.      * @ORM\Column(name="country_id", type="integer", nullable=true)
  88.      */
  89.     private $countryId;
  90.     
  91.     /**
  92.      * @var integer
  93.      *
  94.      * @ORM\Column(name="application_id", type="integer", nullable=true)
  95.      */
  96.     private $applicationId;
  97.     /**
  98.      * @var integer
  99.      *
  100.      * @ORM\Column(name="created_uid", type="integer", nullable=true)
  101.      */
  102.     private $createdUid;
  103.     /**
  104.      * @var integer
  105.      *
  106.      * @ORM\Column(name="updated_uid", type="integer", nullable=true)
  107.      */
  108.     private $updatedUid;
  109.     /**
  110.      * @var integer
  111.      *
  112.      * @ORM\Column(name="deleted_uid", type="integer", nullable=true)
  113.      */
  114.     private $deletedUid;
  115.     /**
  116.      * @var \DateTime
  117.      *
  118.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  119.      */
  120.     private $createdAt;
  121.     /**
  122.      * @var \DateTime
  123.      *
  124.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  125.      */
  126.     private $updatedAt;
  127.     /**
  128.      * @var \DateTime
  129.      *
  130.      * @ORM\Column(name="deleted_at", type="datetime", nullable=true)
  131.      */
  132.     private $deletedAt;
  133.     /**
  134.      * Get id
  135.      *
  136.      * @return integer
  137.      */
  138.     public function getId()
  139.     {
  140.         return $this->id;
  141.     }
  142.     
  143.     /**
  144.      * Set careerPositionId
  145.      *
  146.      * @param integer $careerPositionId
  147.      *
  148.      * @return CareerUserApplication
  149.      */
  150.     public function setCareerPositionId($careerPositionId)
  151.     {
  152.         $this->careerPositionId $careerPositionId;
  153.     
  154.         return $this;
  155.     }
  156.     
  157.     /**
  158.      * Get careerPositionId
  159.      *
  160.      * @return integer
  161.      */
  162.     public function getCareerPositionId()
  163.     {
  164.         return $this->careerPositionId;
  165.     }
  166.     /**
  167.      * Set applicantName
  168.      *
  169.      * @param string $applicantName
  170.      *
  171.      * @return CareerUserApplication
  172.      */
  173.     public function setApplicantName($applicantName)
  174.     {
  175.         $this->applicantName $applicantName;
  176.         return $this;
  177.     }
  178.     /**
  179.      * Get applicantName
  180.      *
  181.      * @return string
  182.      */
  183.     public function getApplicantName()
  184.     {
  185.         return $this->applicantName;
  186.     }
  187.     /**
  188.      * Set applicantEmailId
  189.      *
  190.      * @param string $applicantEmailId
  191.      *
  192.      * @return CareerUserApplication
  193.      */
  194.     public function setApplicantEmailId($applicantEmailId)
  195.     {
  196.         $this->applicantEmailId $applicantEmailId;
  197.         return $this;
  198.     }
  199.     /**
  200.      * Get applicantEmailId
  201.      *
  202.      * @return string
  203.      */
  204.     public function getApplicantEmailId()
  205.     {
  206.         return $this->applicantEmailId;
  207.     }
  208.     /**
  209.      * Set companyName
  210.      *
  211.      * @param string $companyName
  212.      *
  213.      * @return CareerUserApplication
  214.      */
  215.     public function setCompanyName($companyName)
  216.     {
  217.         $this->companyName $companyName;
  218.         return $this;
  219.     }
  220.     /**
  221.      * Get companyName
  222.      *
  223.      * @return string
  224.      */
  225.     public function getCompanyName()
  226.     {
  227.         return $this->companyName;
  228.     }
  229.     /**
  230.      * Set uploadResume
  231.      *
  232.      * @param string $uploadResume
  233.      *
  234.      * @return CareerUserApplication
  235.      */
  236.     public function setUploadResume($uploadResume)
  237.     {
  238.         $this->uploadResume $uploadResume;
  239.         return $this;
  240.     }
  241.     /**
  242.      * Get uploadResume
  243.      *
  244.      * @return string
  245.      */
  246.     public function getUploadResume()
  247.     {
  248.         return $this->uploadResume;
  249.     }
  250.     /**
  251.      * Set applicationForm
  252.      *
  253.      * @param string $applicationForm
  254.      *
  255.      * @return CareerUserApplication
  256.      */
  257.     public function setApplicationForm($applicationForm)
  258.     {
  259.         $this->applicationForm $applicationForm;
  260.         return $this;
  261.     }
  262.     /**
  263.      * Get applicationForm
  264.      *
  265.      * @return string
  266.      */
  267.     public function getApplicationForm()
  268.     {
  269.         return $this->applicationForm;
  270.     }
  271.     /**
  272.      * Set coverLetter
  273.      *
  274.      * @param string $coverLetter
  275.      *
  276.      * @return CareerUserApplication
  277.      */
  278.     public function setCoverLetter($coverLetter)
  279.     {
  280.         $this->coverLetter $coverLetter;
  281.         return $this;
  282.     }
  283.     /**
  284.      * Get coverLetter
  285.      *
  286.      * @return string
  287.      */
  288.     public function getCoverLetter()
  289.     {
  290.         return $this->coverLetter;
  291.     }
  292.     /**
  293.      * Set status
  294.      *
  295.      * @param integer $status
  296.      *
  297.      * @return CareerUserApplication
  298.      */
  299.     public function setStatus($status)
  300.     {
  301.         $this->status $status;
  302.         return $this;
  303.     }
  304.     /**
  305.      * Get status
  306.      *
  307.      * @return integer
  308.      */
  309.     public function getStatus()
  310.     {
  311.         return $this->status;
  312.     }
  313.     /**
  314.      * Set userDataId
  315.      *
  316.      * @param integer $userDataId
  317.      *
  318.      * @return CareerUserApplication
  319.      */
  320.     public function setUserDataId($userDataId)
  321.     {
  322.         $this->userDataId $userDataId;
  323.         return $this;
  324.     }
  325.     /**
  326.      * Get userDataId
  327.      *
  328.      * @return integer
  329.      */
  330.     public function getUserDataId()
  331.     {
  332.         return $this->userDataId;
  333.     }
  334.     /**
  335.      * Set instanceId
  336.      *
  337.      * @param integer $instanceId
  338.      *
  339.      * @return CareerUserApplication
  340.      */
  341.     public function setInstanceId($instanceId)
  342.     {
  343.         $this->instanceId $instanceId;
  344.         return $this;
  345.     }
  346.     /**
  347.      * Get instanceId
  348.      *
  349.      * @return integer
  350.      */
  351.     public function getInstanceId()
  352.     {
  353.         return $this->instanceId;
  354.     }
  355.     /**
  356.      * Set countryId
  357.      *
  358.      * @param integer $countryId
  359.      *
  360.      * @return CareerUserApplication
  361.      */
  362.     public function setCountryId($countryId)
  363.     {
  364.         $this->countryId $countryId;
  365.         return $this;
  366.     }
  367.     /**
  368.      * Get countryId
  369.      *
  370.      * @return integer
  371.      */
  372.     public function getCountryId()
  373.     {
  374.         return $this->countryId;
  375.     }
  376.     
  377.     /**
  378.      * Set applicationId
  379.      *
  380.      * @param integer $applicationId
  381.      *
  382.      * @return CareerUserApplication
  383.      */
  384.     public function setApplicationId($applicationId)
  385.     {
  386.         $this->applicationId $applicationId;
  387.     
  388.         return $this;
  389.     }
  390.     
  391.     /**
  392.      * Get applicationId
  393.      *
  394.      * @return integer
  395.      */
  396.     public function getApplicationId()
  397.     {
  398.         return $this->applicationId;
  399.     }
  400.     
  401.     
  402.     /**
  403.      * Set createdUid
  404.      *
  405.      * @param integer $createdUid
  406.      *
  407.      * @return CareerUserApplication
  408.      */
  409.     public function setCreatedUid($createdUid)
  410.     {
  411.         $this->createdUid $createdUid;
  412.         return $this;
  413.     }
  414.     /**
  415.      * Get createdUid
  416.      *
  417.      * @return integer
  418.      */
  419.     public function getCreatedUid()
  420.     {
  421.         return $this->createdUid;
  422.     }
  423.     /**
  424.      * Set updatedUid
  425.      *
  426.      * @param integer $updatedUid
  427.      *
  428.      * @return CareerUserApplication
  429.      */
  430.     public function setUpdatedUid($updatedUid)
  431.     {
  432.         $this->updatedUid $updatedUid;
  433.         return $this;
  434.     }
  435.     /**
  436.      * Get updatedUid
  437.      *
  438.      * @return integer
  439.      */
  440.     public function getUpdatedUid()
  441.     {
  442.         return $this->updatedUid;
  443.     }
  444.     /**
  445.      * Set deletedUid
  446.      *
  447.      * @param integer $deletedUid
  448.      *
  449.      * @return CareerUserApplication
  450.      */
  451.     public function setDeletedUid($deletedUid)
  452.     {
  453.         $this->deletedUid $deletedUid;
  454.         return $this;
  455.     }
  456.     /**
  457.      * Get deletedUid
  458.      *
  459.      * @return integer
  460.      */
  461.     public function getDeletedUid()
  462.     {
  463.         return $this->deletedUid;
  464.     }
  465.     /**
  466.      * Set createdAt
  467.      *
  468.      * @param \DateTime $createdAt
  469.      *
  470.      * @return CareerUserApplication
  471.      */
  472.     public function setCreatedAt($createdAt)
  473.     {
  474.         $this->createdAt $createdAt;
  475.         return $this;
  476.     }
  477.     /**
  478.      * Get createdAt
  479.      *
  480.      * @return \DateTime
  481.      */
  482.     public function getCreatedAt()
  483.     {
  484.         return $this->createdAt;
  485.     }
  486.     /**
  487.      * Set updatedAt
  488.      *
  489.      * @param \DateTime $updatedAt
  490.      *
  491.      * @return CareerUserApplication
  492.      */
  493.     public function setUpdatedAt($updatedAt)
  494.     {
  495.         $this->updatedAt $updatedAt;
  496.         return $this;
  497.     }
  498.     /**
  499.      * Get updatedAt
  500.      *
  501.      * @return \DateTime
  502.      */
  503.     public function getUpdatedAt()
  504.     {
  505.         return $this->updatedAt;
  506.     }
  507.     /**
  508.      * Set deletedAt
  509.      *
  510.      * @param \DateTime $deletedAt
  511.      *
  512.      * @return CareerUserApplication
  513.      */
  514.     public function setDeletedAt($deletedAt)
  515.     {
  516.         $this->deletedAt $deletedAt;
  517.         return $this;
  518.     }
  519.     /**
  520.      * Get deletedAt
  521.      *
  522.      * @return \DateTime
  523.      */
  524.     public function getDeletedAt()
  525.     {
  526.         return $this->deletedAt;
  527.     }
  528.     /**
  529.      * Set careerApplicationUserDataId
  530.      *
  531.      * @param integer $careerApplicationUserDataId
  532.      *
  533.      * @return CareerUserApplication
  534.      */
  535.     public function setCareerApplicationUserDataId($careerApplicationUserDataId)
  536.     {
  537.         $this->careerApplicationUserDataId $careerApplicationUserDataId;
  538.         return $this;
  539.     }
  540.     /**
  541.      * Get careerApplicationUserDataId
  542.      *
  543.      * @return integer
  544.      */
  545.     public function getCareerApplicationUserDataId()
  546.     {
  547.         return $this->careerApplicationUserDataId;
  548.     }
  549. }