mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
25 lines
508 B
PHP
25 lines
508 B
PHP
|
<?php
|
||
|
namespace App\Entity;
|
||
|
|
||
|
use Doctrine\ORM\Mapping as ORM;
|
||
|
use App\Entity\Attribut\UserAttribut;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author kevinfrantz
|
||
|
* @ORM\Table(name="source_user")
|
||
|
* @ORM\Entity(repositoryClass="App\Repository\UserSourceRepository")
|
||
|
*/
|
||
|
class UserSource extends AbstractSource implements UserSourceInterface
|
||
|
{
|
||
|
use UserAttribut;
|
||
|
|
||
|
/**
|
||
|
* @ORM\OneToOne(targetEntity="User")
|
||
|
* @ORM\JoinColumn(name="user_id", referencedColumnName="id")
|
||
|
* @var User
|
||
|
*/
|
||
|
protected $user;
|
||
|
|
||
|
}
|