fix: validator
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user