fix: validator
Some checks failed
Cadoles/nineskeletor/pipeline/pr-master There was a failure building this commit
Cadoles/nineskeletor/pipeline/head There was a failure building this commit

This commit is contained in:
2022-10-25 15:42:31 +02:00
parent 19fa75e2eb
commit c6678e8e02
14 changed files with 234 additions and 19 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Entity;
use App\Validator;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
@@ -25,6 +26,8 @@ class Group
private $id;
/**
* @Validator\Grouplabel()
* @Validator\Groupunique()
* @ORM\Column(type="string", length=250, unique=true)
*/
private $label;