src/Entity/Service.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Core\Annotation\ApiResource;
  4. use App\Repository\ServiceRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassServiceRepository::class)]
  7. #[ApiResource]
  8. class Service
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $Howitworks null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $description null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $numero null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $nom null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $paragraphe null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $image null;
  26.     public function getId(): ?int
  27.     {
  28.         return $this->id;
  29.     }
  30.     public function getHowitworks(): ?string
  31.     {
  32.         return $this->Howitworks;
  33.     }
  34.     public function setHowitworks(?string $Howitworks): self
  35.     {
  36.         $this->Howitworks $Howitworks;
  37.         return $this;
  38.     }
  39.     public function getDescription(): ?string
  40.     {
  41.         return $this->description;
  42.     }
  43.     public function setDescription(?string $description): self
  44.     {
  45.         $this->description $description;
  46.         return $this;
  47.     }
  48.     public function getNumero(): ?string
  49.     {
  50.         return $this->numero;
  51.     }
  52.     public function setNumero(?string $numero): self
  53.     {
  54.         $this->numero $numero;
  55.         return $this;
  56.     }
  57.     public function getNom(): ?string
  58.     {
  59.         return $this->nom;
  60.     }
  61.     public function setNom(?string $nom): self
  62.     {
  63.         $this->nom $nom;
  64.         return $this;
  65.     }
  66.     public function getParagraphe(): ?string
  67.     {
  68.         return $this->paragraphe;
  69.     }
  70.     public function setParagraphe(?string $paragraphe): self
  71.     {
  72.         $this->paragraphe $paragraphe;
  73.         return $this;
  74.     }
  75.     public function getImage(): ?string
  76.     {
  77.         return $this->image;
  78.     }
  79.     public function setImage(?string $image): self
  80.     {
  81.         $this->image $image;
  82.         return $this;
  83.     }
  84. }