mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-14 06:07:18 +02:00
Optimized ORM Modell
This commit is contained in:
@@ -10,6 +10,8 @@ use App\Entity\SourceInterface;
|
||||
*/
|
||||
trait SourceAttribut {
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity="AbstractSource")
|
||||
* @ORM\JoinColumn(name="source_id", referencedColumnName="id")
|
||||
* @var SourceInterface
|
||||
*/
|
||||
protected $source;
|
||||
|
Reference in New Issue
Block a user