src/Entity/Commissions.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CommissionsRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassCommissionsRepository::class)]
  8. class Commissions
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $num null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $image null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $remarque null;
  20.     #[ORM\ManyToOne(inversedBy'commissions')]
  21.     private ?Client $client null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $commissions null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getNum(): ?string
  29.     {
  30.         return $this->num;
  31.     }
  32.     public function setNum(?string $num): static
  33.     {
  34.         $this->num $num;
  35.         return $this;
  36.     }
  37.     public function getImage(): ?string
  38.     {
  39.         return $this->image;
  40.     }
  41.     public function setImage(?string $image): static
  42.     {
  43.         $this->image $image;
  44.         return $this;
  45.     }
  46.     public function getRemarque(): ?string
  47.     {
  48.         return $this->remarque;
  49.     }
  50.     public function setRemarque(?string $remarque): static
  51.     {
  52.         $this->remarque $remarque;
  53.         return $this;
  54.     }
  55.     public function getClient(): ?Client
  56.     {
  57.         return $this->client;
  58.     }
  59.     public function setClient(?Client $client): static
  60.     {
  61.         $this->client $client;
  62.         return $this;
  63.     }
  64.     public function getCommissions(): ?string
  65.     {
  66.         return $this->commissions;
  67.     }
  68.     public function setCommissions(?string $commissions): static
  69.     {
  70.         $this->commissions $commissions;
  71.         return $this;
  72.     }
  73. }