src/Entity/SearchHomeData.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SearchHomeDataRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassSearchHomeDataRepository::class)]
  6. class SearchHomeData
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     public function getId(): ?int
  13.     {
  14.         return $this->id;
  15.     }
  16.      /** @var string */
  17.      public string $q '';
  18. }