ThirdPartyProfession::class])] #[ORM\Entity(repositoryClass: ThirdPartyProfessionRepository::class)] #[ORM\Table(name: 'chill_3party.party_profession')] class ThirdPartyProfession { #[Serializer\Groups(['read'])] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::BOOLEAN)] private bool $active = true; #[Serializer\Groups(['docgen:read', 'read', 'write'])] #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::INTEGER)] private ?int $id = null; #[Serializer\Groups(['docgen:read', 'read'])] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON)] private array $name = []; public function getActive(): ?bool { return $this->active; } public function getId(): ?int { return $this->id; } public function getName(): ?array { return $this->name; } public function setActive(bool $active): self { $this->active = $active; return $this; } public function setName(array $name): self { $this->name = $name; return $this; } }