<?php
namespace App\Entity;
use App\Repository\TableauMesureEnCoursValeurRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TableauMesureEnCoursValeurRepository::class)]
class TableauMesureEnCoursValeur
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: Taille::class, inversedBy: 'tableauMesureEnCoursValeurs')]
private $taille;
#[ORM\Column(type: 'float', nullable: true)]
private $valeur;
#[ORM\ManyToOne(targetEntity: TableauMesureEnCours::class, inversedBy: 'valeurs')]
private $tableauMesureEnCours;
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 getTableauMesureEnCours(): ?TableauMesureEnCours
{
return $this->tableauMesureEnCours;
}
public function setTableauMesureEnCours(?TableauMesureEnCours $tableauMesureEnCours): self
{
$this->tableauMesureEnCours = $tableauMesureEnCours;
return $this;
}
}