mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 10:16:22 +02:00
31 lines
802 B
PHP
31 lines
802 B
PHP
<?php
|
|
|
|
namespace App\Entity\Source\Complex;
|
|
|
|
use App\Entity\Attribut\FullPersonNameSourceAttribut;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
* @ORM\Table(name="source_combination_person_identity")
|
|
* @ORM\Entity()
|
|
*/
|
|
class PersonIdentitySource extends AbstractComplexSource implements PersonIdentitySourceInterface
|
|
{
|
|
use FullPersonNameSourceAttribut;
|
|
|
|
/**
|
|
* @ORM\OneToOne(targetEntity="FullPersonNameSource",cascade={"persist", "remove"})
|
|
* @ORM\JoinColumn(name="fullname_id", referencedColumnName="id",onDelete="CASCADE")
|
|
*
|
|
* @var FullPersonNameSourceInterface
|
|
*/
|
|
protected $fullPersonNameSource;
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->fullPersonNameSource = new FullPersonNameSource();
|
|
}
|
|
}
|