src/Entity/JdeCout.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\JdeCoutRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassJdeCoutRepository::class)]
  6. class JdeCout
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255nullabletrue)]
  13.     private $reference;
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private $coloris;
  16.     #[ORM\ManyToOne(targetEntityTaille::class, inversedBy'jdeCouts')]
  17.     private $taille;
  18.     #[ORM\ManyToOne(targetEntityBonnet::class, inversedBy'jdeCouts')]
  19.     private $bonnet;
  20.     #[ORM\Column(type'string'length255nullabletrue)]
  21.     private $site;
  22.     #[ORM\Column(type'float'nullabletrue)]
  23.     private $cout;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getReference(): ?string
  29.     {
  30.         return $this->reference;
  31.     }
  32.     public function setReference(?string $reference): self
  33.     {
  34.         $this->reference $reference;
  35.         return $this;
  36.     }
  37.     public function getColoris(): ?string
  38.     {
  39.         return $this->coloris;
  40.     }
  41.     public function setColoris(?string $coloris): self
  42.     {
  43.         $this->coloris $coloris;
  44.         return $this;
  45.     }
  46.     public function getTaille(): ?Taille
  47.     {
  48.         return $this->taille;
  49.     }
  50.     public function setTaille(?Taille $taille): self
  51.     {
  52.         $this->taille $taille;
  53.         return $this;
  54.     }
  55.     public function getBonnet(): ?Bonnet
  56.     {
  57.         return $this->bonnet;
  58.     }
  59.     public function setBonnet(?Bonnet $bonnet): self
  60.     {
  61.         $this->bonnet $bonnet;
  62.         return $this;
  63.     }
  64.     public function getSite(): ?string
  65.     {
  66.         return $this->site;
  67.     }
  68.     public function setSite(?string $site): self
  69.     {
  70.         $this->site $site;
  71.         return $this;
  72.     }
  73.     public function getCout(): ?float
  74.     {
  75.         return $this->cout;
  76.     }
  77.     public function setCout(?float $cout): self
  78.     {
  79.         $this->cout $cout;
  80.         return $this;
  81.     }
  82. }