true], groups: ['docgen:read'])] private string $countryCode = ''; #[Groups(['read', 'docgen:read'])] #[ORM\Id] #[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)] #[ORM\GeneratedValue(strategy: 'AUTO')] private ?int $id = null; /** * @var array */ #[Groups(['read', 'docgen:read'])] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, options: ['default' => '[]', 'jsonb' => true])] #[Context(['is-translatable' => true], groups: ['docgen:read'])] private array $name = []; public function getCountryCode(): string { return $this->countryCode; } public function getId(): ?int { return $this->id; } /** * Get name. */ public function getName(): array { return $this->name; } public function setCountryCode(?string $countryCode): self { $this->countryCode = (string) $countryCode; return $this; } /** * @param array $name */ public function setName(array $name): self { $this->name = $name; return $this; } }