Implemenented version attribt, repository and tests for right entity

This commit is contained in:
Kevin Frantz
2018-11-24 14:59:15 +01:00
parent 89530fd6e0
commit ed41dd6bf8
9 changed files with 196 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ class Reciever extends AbstractMeta implements RecieverInterface
* The right which the reciever group belongs to.
*
* @ORM\OneToOne(targetEntity="Right",cascade={"persist", "remove"})
* @ORM\JoinColumn(name="right_id", referencedColumnName="id")
* @ORM\JoinColumn(name="right_id", referencedColumnName="id",onDelete="CASCADE")
*
* @var RightInterface
*/