Feature: add cc users in workflow: add constraint validation on EntityWorkflowStep

This commit is contained in:
nobohan
2023-03-29 12:09:12 +02:00
parent a8c2750ac8
commit 8c37afa3a9
3 changed files with 72 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ declare(strict_types=1);
namespace Chill\MainBundle\Entity\Workflow;
use Chill\MainBundle\Entity\User;
use Chill\MainBundle\Validator\Constraints\Entity\WorkflowStepUsers;
use DateTimeImmutable;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
@@ -24,6 +25,7 @@ use function in_array;
/**
* @ORM\Entity
* @ORM\Table("chill_main_workflow_entity_step")
* @WorkflowStepUsers()
*/
class EntityWorkflowStep
{