mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-03-13 18:35:17 +01:00
32 lines
639 B
PHP
32 lines
639 B
PHP
<?php
|
|
|
|
namespace App\Entity\Source\Data\Name;
|
|
|
|
use App\Entity\Attribut\NameAttribut;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Symfony\Component\Validator\Constraints as Assert;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
* @ORM\Table(name="source_data_nickname")
|
|
* @ORM\Entity()
|
|
*/
|
|
final class NicknameSource extends AbstractNameSource implements NicknameSourceInterface
|
|
{
|
|
use NameAttribut;
|
|
|
|
/**
|
|
* @todo Implement an extra assert Layer!
|
|
* @ORM\Column(type="string",length=255)
|
|
* @Assert\NotBlank()
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $name;
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
}
|