<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class JobRedirect {
/**
* @var int
*/
private $id;
/**
* @var \App\Entity\Job
*/
private $srcJob;
/**
* @var \App\Entity\Job
*/
private $destJob;
/**
* @var \App\Entity\JobRedirectType
*/
private $redirectType;
/**
* Get id.
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set srcJob.
*
* @param \App\Entity\Job|null $srcJob
*
* @return JobRedirect
*/
public function setSrcJob(\App\Entity\Job $srcJob = null) {
$this->srcJob = $srcJob;
return $this;
}
/**
* Get srcJob.
*
* @return \App\Entity\Job|null
*/
public function getSrcJob() {
return $this->srcJob;
}
/**
* Set destJob.
*
* @param \App\Entity\Job|null $destJob
*
* @return JobRedirect
*/
public function setDestJob(\App\Entity\Job $destJob = null) {
$this->destJob = $destJob;
return $this;
}
/**
* Get destJob.
*
* @return \App\Entity\Job|null
*/
public function getDestJob() {
return $this->destJob;
}
/**
* Set redirectType.
*
* @param \App\Entity\JobRedirectType|null $redirectType
*
* @return JobRedirect
*/
public function setRedirectType(\App\Entity\JobRedirectType $redirectType = null) {
$this->redirectType = $redirectType;
return $this;
}
/**
* Get redirectType.
*
* @return \App\Entity\JobRedirectType|null
*/
public function getJobRedirectType() {
return $this->redirectType;
}
}