mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-10-11 01:58:09 +02:00
Continued the integration of person identity
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user