Continued the integration of person identity

This commit is contained in:
Kevin Frantz
2018-11-10 12:30:59 +01:00
parent 7a6a5e1bcf
commit c1b073eba8
21 changed files with 206 additions and 52 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Entity\Source\Data;
class PesonIdentitySource extends AbstractDataSource implements PersonIdentitySourceInterface
{
/**
* @Assert\Type(type="App\Entity\Source\NameSource")
* @Assert\Valid()
* @ORM\OneToOne(targetEntity="NameSource",cascade={"persist", "remove"})
* @ORM\JoinColumn(name="name_id", referencedColumnName="id")
*
* @var NameSourceInterface
*/
protected $nameSource;
}