<?php
namespace App\Entity;
use App\Repository\TableauMesureTermineValeurRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TableauMesureTermineValeurRepository::class)]
class TableauMesureTermineValeur
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: Taille::class, inversedBy: 'tableauMesureValeurTailles')]
private $taille;
#[ORM\Column(type: 'float', nullable: true)]
private $valeur;
#[ORM\ManyToOne(targetEntity: TableauMesureTermine::class, inversedBy: 'valeurs')]
private $tableauMesureTermine;
public function getId(): ?int
{
return $this->id;
}
public function getTaille(): ?Taille
{
return $this->taille;
}
public function setTaille(?Taille $taille): self
{
$this->taille = $taille;
return $this;
}
public function getValeur(): ?float
{
return $this->valeur;
}
public function setValeur(?float $valeur): self
{
$this->valeur = $valeur;
return $this;
}
public function getTableauMesureTermine(): ?TableauMesureTermine
{
return $this->tableauMesureTermine;
}
public function setTableauMesureTermine(?TableauMesureTermine $tableauMesureMesure): self
{
$this->tableauMesureTermine = $tableauMesureMesure;
return $this;
}
}