Fix typos on JORejection entity #183
This commit is contained in:
parent
9f1c5b9cc9
commit
b63695e846
1 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ class JORejection
|
|||
protected $hub;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="JobOrder")
|
||||
* @ORM\ManyToOne(targetEntity="JobOrder", inversedBy="hub_rejections")
|
||||
* @ORM\JoinColumn(name="jo_id", referencedColumnName="id", nullable=true)
|
||||
*/
|
||||
protected $job_order;
|
||||
|
|
@ -84,7 +84,7 @@ class JORejection
|
|||
|
||||
public function getHub()
|
||||
{
|
||||
return $this->user;
|
||||
return $this->hub;
|
||||
}
|
||||
|
||||
public function setHub(Hub $hub)
|
||||
|
|
@ -95,7 +95,7 @@ class JORejection
|
|||
|
||||
public function getJobOrder()
|
||||
{
|
||||
return $this->user;
|
||||
return $this->job_order;
|
||||
}
|
||||
|
||||
public function setJobOrder(JobOrder $job_order)
|
||||
|
|
|
|||
Loading…
Reference in a new issue