src/Entity/ProductConfiguration.php line 10
<?phpnamespace App\Entity;use App\Repository\ProductConfigurationRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Uid\Uuid;#[ORM\Entity(repositoryClass: ProductConfigurationRepository::class)]class ProductConfiguration{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column(type: "integer")]private $id;#[ORM\Column(type: "string", nullable: true)]private $code;#[ORM\Column(type: "json", nullable: true)]private $json = [];public function __construct(){$this->code = Uuid::v4()->toBase32();}public function getId(): ?int{return $this->id;}public function getCode(): ?string{return $this->code;}public function getJson(): ?array{return $this->json;}public function setJson(?array $json): self{$this->json = $json;return $this;}}