src/Entity/Protocoleinstrimg.php line 9
<?php
namespace App\Entity;
use App\Repository\ProtocoleinstrimgRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ProtocoleinstrimgRepository::class)]
class Protocoleinstrimg
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?int $ordre = null;
#[ORM\ManyToOne(inversedBy: 'protocoleinstrimgs')]
private ?Protocole $protocole = null;
#[ORM\ManyToOne]
private ?Image $image = null;
public function getId(): ?int
{
return $this->id;
}
public function getOrdre(): ?int
{
return $this->ordre;
}
public function setOrdre(int $ordre): self
{
$this->ordre = $ordre;
return $this;
}
public function getProtocole(): ?Protocole
{
return $this->protocole;
}
public function setProtocole(?Protocole $protocole): self
{
$this->protocole = $protocole;
return $this;
}
public function getImage(): ?Image
{
return $this->image;
}
public function setImage(?Image $image): self
{
$this->image = $image;
return $this;
}
}