Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.rec-app.app_1716798588
/
htdocs
/
src
/
Entity
/
/srv/data/trash/vhost_www.rec-app.app_1716798588/htdocs/src/Entity/PhoneModelOption.php
<?php namespace App\Entity; use Doctrine\ORM\Mapping as ORM; use App\Repository\PhoneModelOptionRepository; use Symfony\Component\Serializer\Annotation\Groups; /** * @ORM\Entity(repositoryClass=PhoneModelOptionRepository::class) */ class PhoneModelOption { /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") * @Groups({"phoneModel:read"}) */ private $id; /** * @ORM\ManyToOne(targetEntity=PhoneModel::class, inversedBy="phoneModelOptions") * @ORM\JoinColumn(nullable=false) */ private $phoneModel; /** * @ORM\ManyToOne(targetEntity=PhoneOption::class) * @ORM\JoinColumn(nullable=false) * @Groups({"phoneModel:read"}) */ private $phoneOption; /** * @ORM\Column(type="string", length=255) * @Groups({"phoneModel:read"}) */ private $value; public function getId(): ?int { return $this->id; } public function getPhoneModel(): ?PhoneModel { return $this->phoneModel; } public function setPhoneModel(?PhoneModel $phoneModel): self { $this->phoneModel = $phoneModel; return $this; } public function getPhoneOption(): ?PhoneOption { return $this->phoneOption; } public function setPhoneOption(?PhoneOption $phoneOption): self { $this->phoneOption = $phoneOption; return $this; } public function getValue(): ?string { return $this->value; } public function setValue(string $value): self { $this->value = $value; return $this; } }