Doctrine mapping with multiple mapped by on same field
<p>I'm having a hard time figuring how to make this work. I have a generic user entity which can represent two types of users(artist and booker). Now, i have a booking request which holds information about artist and booker both.</p>

<p>I have this by now:</p>

<pre><code>//Boooking request entity

&lt;many-to-one field="artist" target-entity="App\UserBundle\Entity\User" inversed-by="bookingRequestArtist"&gt;
  &lt;join-column name="artist_id" referenced-column-name="id" /&gt;
&lt;/many-to-one&gt;
&lt;many-to-one field="booker" target-entity="App\UserBundle\Entity\User" inversed-by="bookingRequestBooker"&gt;
  &lt;join-column name="booker_id" referenced-column-name="id" /&gt;
&lt;/many-to-one&gt;

//Generic user entity
&lt;one-to-many field="bookingRequestArtist" target-entity="App\BookingBundle\Entity\BookingRequest" mapped-by="????" /&gt;
</code></pre>

<p>I'm wondering how to organize User entity so it has booking request field since i'm dealing with two types of users and two fields would be redundant. Is it possible to achieve a structure where something like $user->getBookigRequest() is possible with two types of users who share same booking request?</p>