<?phpnamespace App\Entity;use ApiPlatform\Core\Annotation\ApiResource;use App\Repository\ServiceRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ServiceRepository::class)]#[ApiResource]class Service{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255, nullable: true)] private ?string $Howitworks = null; #[ORM\Column(length: 255, nullable: true)] private ?string $description = null; #[ORM\Column(length: 255, nullable: true)] private ?string $numero = null; #[ORM\Column(length: 255, nullable: true)] private ?string $nom = null; #[ORM\Column(length: 255, nullable: true)] private ?string $paragraphe = null; #[ORM\Column(length: 255, nullable: true)] private ?string $image = null; public function getId(): ?int { return $this->id; } public function getHowitworks(): ?string { return $this->Howitworks; } public function setHowitworks(?string $Howitworks): self { $this->Howitworks = $Howitworks; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getNumero(): ?string { return $this->numero; } public function setNumero(?string $numero): self { $this->numero = $numero; return $this; } public function getNom(): ?string { return $this->nom; } public function setNom(?string $nom): self { $this->nom = $nom; return $this; } public function getParagraphe(): ?string { return $this->paragraphe; } public function setParagraphe(?string $paragraphe): self { $this->paragraphe = $paragraphe; return $this; } public function getImage(): ?string { return $this->image; } public function setImage(?string $image): self { $this->image = $image; return $this; }}