name: dance_id
subscribers:
targetEntity: Rapsys\AirBundle\Entity\User
- inversedBy: subscriptions
+ mappedBy: subscriptions
+ subscriptions:
+ targetEntity: Rapsys\AirBundle\Entity\User
+ inversedBy: subscribers
joinTable:
name: users_subscriptions
joinColumns:
name: user_id
inverseJoinColumns:
id:
- name: subscriber_id
- subscriptions:
- targetEntity: Rapsys\AirBundle\Entity\User
- mappedBy: subscribers
+ name: subscribed_id
locations:
targetEntity: Rapsys\AirBundle\Entity\Location
inversedBy: users