mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-11-05 04:08:46 +00:00
Optimized ORM Modell
This commit is contained in:
1 parent
bccafb4740
commit
261b704017
2 files changed
+7
-2
No files matched your search
@@ -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