Updated Doctrine Entities

This commit is contained in:
Kevin Frantz
2018-10-03 16:48:16 +02:00
parent eb77157e4c
commit 6f20be38c9
5 changed files with 7 additions and 9 deletions

View File

@@ -5,7 +5,6 @@ namespace App\Entity\Source;
use App\Entity\Attribut\NodeAttribut;
use Doctrine\ORM\Mapping as ORM;
use JMS\Serializer\Annotation\Exclude;
use App\Entity\Source\SourceInterface;
use App\Entity\NodeInterface;
use App\Entity\AbstractEntity;
@@ -25,7 +24,7 @@ abstract class AbstractSource extends AbstractEntity implements SourceInterface
/**
* @var NodeInterface
* @ORM\OneToOne(targetEntity="Node",cascade={"persist", "remove"})
* @ORM\OneToOne(targetEntity="App\Entity\Node",cascade={"persist", "remove"})
* @ORM\JoinColumn(name="node_id", referencedColumnName="id")
* @Exclude
*/