src/Entity/ConfigGeoLayers.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ConfigGeoLayersRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassConfigGeoLayersRepository::class)]
  6. class ConfigGeoLayers
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\ManyToOne(targetEntityConfigGeoServer::class, inversedBy'configGeoLayers')]
  13.     private $fk_config;
  14.     #[ORM\ManyToOne(targetEntityLayers::class, inversedBy'configGeoLayers')]
  15.     private $fk_layers;
  16.     #[ORM\Column(type'string'length255nullabletrue)]
  17.     private $style;
  18.     public function getId(): ?int
  19.     {
  20.         return $this->id;
  21.     }
  22.     public function getFkConfig(): ?ConfigGeoServer
  23.     {
  24.         return $this->fk_config;
  25.     }
  26.     public function setFkConfig(?ConfigGeoServer $fk_config): self
  27.     {
  28.         $this->fk_config $fk_config;
  29.         return $this;
  30.     }
  31.     public function getFkLayers(): ?Layers
  32.     {
  33.         return $this->fk_layers;
  34.     }
  35.     public function setFkLayers(?Layers $fk_layers): self
  36.     {
  37.         $this->fk_layers $fk_layers;
  38.         return $this;
  39.     }
  40.     public function getStyle(): ?string
  41.     {
  42.         return $this->style;
  43.     }
  44.     public function setStyle(?string $style): self
  45.     {
  46.         $this->style $style;
  47.         return $this;
  48.     }
  49. }