mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-14 06:07:18 +02:00
Optimized Entity Draft
This commit is contained in:
@@ -11,8 +11,8 @@ use App\Entity\NodeInterface;
|
||||
trait NodeAttribut{
|
||||
/**
|
||||
* @var NodeInterface
|
||||
* @OneToOne(targetEntity="Node")
|
||||
* @JoinColumn(name="source", referencedColumnName="id")
|
||||
* @ORM\OneToOne(targetEntity="Node")
|
||||
* @ORM\JoinColumn(name="source", referencedColumnName="id")
|
||||
*/
|
||||
protected $node;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace Entity\Attribut;
|
||||
namespace App\Entity\Attribut;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use App\Entity\NodeInterface;
|
||||
|
Reference in New Issue
Block a user