<?phpnamespace App\Entity;use App\Repository\JdeCoutRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: JdeCoutRepository::class)]class JdeCout{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private $id; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $reference; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $coloris; #[ORM\ManyToOne(targetEntity: Taille::class, inversedBy: 'jdeCouts')] private $taille; #[ORM\ManyToOne(targetEntity: Bonnet::class, inversedBy: 'jdeCouts')] private $bonnet; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $site; #[ORM\Column(type: 'float', nullable: true)] private $cout; public function getId(): ?int { return $this->id; } public function getReference(): ?string { return $this->reference; } public function setReference(?string $reference): self { $this->reference = $reference; return $this; } public function getColoris(): ?string { return $this->coloris; } public function setColoris(?string $coloris): self { $this->coloris = $coloris; return $this; } public function getTaille(): ?Taille { return $this->taille; } public function setTaille(?Taille $taille): self { $this->taille = $taille; return $this; } public function getBonnet(): ?Bonnet { return $this->bonnet; } public function setBonnet(?Bonnet $bonnet): self { $this->bonnet = $bonnet; return $this; } public function getSite(): ?string { return $this->site; } public function setSite(?string $site): self { $this->site = $site; return $this; } public function getCout(): ?float { return $this->cout; } public function setCout(?float $cout): self { $this->cout = $cout; return $this; }}