Skip to content

Instantly share code, notes, and snippets.

@xabbuh
Created August 23, 2018 08:31
Show Gist options
  • Save xabbuh/6d5320e3ece19613f0263d3d5d924c6b to your computer and use it in GitHub Desktop.
Save xabbuh/6d5320e3ece19613f0263d3d5d924c6b to your computer and use it in GitHub Desktop.
manyToOne:
candidate:
targetEntity: \AppBundle\Entity\Candidate
inversedBy: interviews
joinColumn:
name: candidate_id
referencedColumnName: id
user:
targetEntity: \AppBundle\Entity\User
inversedBy: interviews
joinColumn:
name: user_id
referencedColumnName: id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment