Add reverse association for processed_by
This commit is contained in:
parent
8252d3cf1c
commit
46ad945686
1 changed files with 6 additions and 0 deletions
|
|
@ -79,6 +79,12 @@ class User implements AdvancedUserInterface, Serializable
|
|||
*/
|
||||
protected $job_orders_assigned;
|
||||
|
||||
// job orders processed or being processed by this user
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="JobOrder", mappedBy="processed_by")
|
||||
*/
|
||||
protected $job_orders_processed;
|
||||
|
||||
// tickets made by this user
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="Ticket", mappedBy="created_by")
|
||||
|
|
|
|||
Loading…
Reference in a new issue