Skip to content
Snippets Groups Projects
Commit 4c11aa3d authored by Lucas's avatar Lucas
Browse files

attributs livraison

parent 038e648f
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,56 @@ class Livraison
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private ?Abonnement $abonnement = null;
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private ?PointDeDepot $pointDeDepot = null;
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private ?Tournee $tournee = null;
public function getId(): ?int
{
return $this->id;
}
public function getAbonnement(): ?Abonnement
{
return $this->abonnement;
}
public function setAbonnement(?Abonnement $abonnement): static
{
$this->abonnement = $abonnement;
return $this;
}
public function getPointDeDepot(): ?PointDeDepot
{
return $this->pointDeDepot;
}
public function setPointDeDepot(?PointDeDepot $pointDeDepot): static
{
$this->pointDeDepot = $pointDeDepot;
return $this;
}
public function getTournee(): ?Tournee
{
return $this->tournee;
}
public function setTournee(?Tournee $tournee): static
{
$this->tournee = $tournee;
return $this;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment