<?phpnamespace App\Entity;use App\Repository\OfferInfoRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=OfferInfoRepository::class) */class OfferInfo{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Offer::class, inversedBy="offerInfos") */ private $offer; /** * @ORM\Column(type="string", nullable=true) */ private $type; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $title; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $position; public function getId(): ?int { return $this->id; } public function getOffer(): ?Offer { return $this->offer; } public function setOffer(?Offer $offer): self { $this->offer = $offer; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title): self { $this->title = $title; return $this; } public function getPosition(): ?string { return $this->position; } public function setPosition(?string $position): self { $this->position = $position; return $this; } /** * Get the value of type */ public function getType() { return $this->type; } /** * Set the value of type * * @return self */ public function setType($type) { $this->type = $type; return $this; }}