<?php
namespace App\Admin\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* StdPagesAttributesValues
*/
#[ORM\Table(name: 'std_pages_attributes_values')]
#[ORM\Entity(repositoryClass: 'App\Admin\Repository\StdPagesAttributesValuesRepository')]
class StdPagesAttributesValues
{
/**
* @var \StdPages
*/
#[ORM\JoinColumn(name: 'page_id', referencedColumnName: 'id')]
#[ORM\ManyToOne(targetEntity: 'StdPages')]
#[ORM\Id]
private $pageId;
/**
* @var string
*/
#[ORM\Column(name: 'attribute_machine_name', type: 'string', length: 50, nullable: false, options: ['comment' => 'Attribute machine name'])]
#[ORM\Id]
private $attributeMachineName;
/**
* @var string
*/
#[ORM\Column(name: 'value', type: 'string', length: 20, nullable: false, options: ['comment' => 'Attribute value'])]
#[ORM\Id]
private $value;
public function getPageId(): ?StdPages
{
return $this->pageId;
}
public function setPageId(?StdPages $pageId): self
{
$this->pageId = $pageId;
return $this;
}
public function getAttributeMachineName(): ?string
{
return $this->attributeMachineName;
}
public function setAttributeMachineName(string $attributeMachineName): self
{
$this->attributeMachineName = $attributeMachineName;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(string $value): self
{
$this->value = $value;
return $this;
}
}