<?phpnamespace App\Entity\Articles;use App\Repository\Articles\ArticleComplementOptionRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Table("article__article_complement_option") * @ORM\Entity(repositoryClass=ArticleComplementOptionRepository::class) */class ArticleComplementOption{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="integer", nullable=true) */ private $diviseur; /** * @ORM\Column(type="integer", nullable=true) */ private $multiple; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $type; /** * @ORM\Column(type="boolean", nullable=true) */ private $indifferent; /** * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article") * @ORM\JoinColumn(nullable=true) */ private $parent; /** * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article") * @ORM\JoinColumn(nullable=true) */ private $enfant; public function getId(): ?int { return $this->id; } public function getDiviseur(): ?int { return $this->diviseur; } public function setDiviseur(?int $diviseur): self { $this->diviseur = $diviseur; return $this; } public function getMultiple(): ?int { return $this->multiple; } public function setMultiple(?int $multiple): self { $this->multiple = $multiple; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): self { $this->type = $type; return $this; } public function isIndifferent(): ?bool { return $this->indifferent; } public function setIndifferent(?bool $indifferent): self { $this->indifferent = $indifferent; return $this; } public function getParent(): ?Article { return $this->parent; } public function setParent(?Article $parent): self { $this->parent = $parent; return $this; } public function getEnfant(): ?Article { return $this->enfant; } public function setEnfant(?Article $enfant): self { $this->enfant = $enfant; return $this; }}