<?php
namespace App\Entity;
use App\Repository\ZoneDepartementsPoidsRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ZoneDepartementsPoidsRepository::class)
*/
class ZoneDepartementsPoids
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Annee::class, inversedBy="zoneDepartementsPoids")
*/
private $annee;
/**
* @ORM\ManyToOne(targetEntity=ZoneDepartements::class, inversedBy="zoneDepartementsPoids")
*/
private $zoneDepartements;
/**
* @ORM\Column(type="float")
*/
private $poids_min;
/**
* @ORM\Column(type="float")
*/
private $poids_max;
/**
* @ORM\Column(type="float")
*/
private $montant;
public function getId(): ?int
{
return $this->id;
}
public function getMontant(): ?float
{
return $this->montant;
}
public function setMontant(float $montant): self
{
$this->montant = $montant;
return $this;
}
public function getPoidsMin(): ?float
{
return $this->poids_min;
}
public function setPoidsMin(float $poids_min): self
{
$this->poids_min = $poids_min;
return $this;
}
public function getPoidsMax(): ?float
{
return $this->poids_max;
}
public function setPoidsMax(float $poids_max): self
{
$this->poids_max = $poids_max;
return $this;
}
public function setAnnee(?Annee $annee): self
{
$this->annee = $annee;
return $this;
}
public function getAnnee(): ?Annee
{
return $this->annee;
}
public function setZoneDepartements(?ZoneDepartements $zoneDepartements): self
{
$this->zoneDepartements = $zoneDepartements;
return $this;
}
public function getZoneDepartements(): ?ZoneDepartements
{
return $this->zoneDepartements;
}
}