<?php
namespace App\Entity;
use App\Repository\IncludedRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=IncludedRepository::class)
*/
class Included
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Offer::class, inversedBy="includeds")
*/
private $Offer;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $label;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $position;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $type;
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 getLabel(): ?string
{
return $this->label;
}
public function setLabel(?string $label): self
{
$this->label = $label;
return $this;
}
public function getPosition(): ?string
{
return $this->position;
}
public function setPosition(?string $position): self
{
$this->position = $position;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): self
{
$this->type = $type;
return $this;
}
}