Add field in event for themes

This commit is contained in:
2025-04-29 10:03:42 +02:00
parent e7a1ff1ac8
commit 383f588795
7 changed files with 108 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ declare(strict_types=1);
namespace Chill\EventBundle\Entity;
use Chill\EventBundle\Repository\EventThemeRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
@@ -19,8 +20,8 @@ use Doctrine\ORM\Mapping as ORM;
/**
* Class EventTheme.
*/
#[ORM\Entity]
#[ORM\HasLifecycleCallbacks]
#[ORM\Entity(repositoryClass: EventThemeRepository::class)]
#[ORM\Table(name: 'chill_event_event_theme')]
class EventTheme
{
@@ -82,7 +83,6 @@ class EventTheme
/**
* Set active.
*
* @param bool $active
* @return EventTheme
*/
public function setIsActive(bool $active): static
@@ -95,7 +95,6 @@ class EventTheme
/**
* Set label.
*
* @param array $label
* @return EventTheme
*/
public function setName(array $label): static