src/Entity/TypeSignalement.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity(repositoryClass\App\Repository\TypeSignalementRepository::class)]
  5. class TypeSignalement
  6. {
  7.     #[ORM\Id]
  8.     #[ORM\GeneratedValue]
  9.     #[ORM\Column(type'integer')]
  10.     private int $id;
  11.     #[ORM\Column(type'string'length255nullabletrue)]
  12.     private ?string $namenull;
  13.     #[ORM\Column(type'string'length255nullabletrue)]
  14.     private ?string $destinatairesnull;
  15.     public function getId(): ?int
  16.     {
  17.         return $this->id;
  18.     }
  19.     public function getName(): ?string
  20.     {
  21.         return $this->name;
  22.     }
  23.     public function setName(?string $name): self
  24.     {
  25.         $this->name $name;
  26.         return $this;
  27.     }
  28.     public function getDestinataires(): ?string
  29.     {
  30.         return $this->destinataires;
  31.     }
  32.     public function setDestinataires(?string $destinataires): self
  33.     {
  34.         $this->destinataires $destinataires;
  35.         return $this;
  36.     }
  37. }