<?php
namespace App\Entity;
use App\Repository\ConfigGeoLayersRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ConfigGeoLayersRepository::class)]
class ConfigGeoLayers
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: ConfigGeoServer::class, inversedBy: 'configGeoLayers')]
private $fk_config;
#[ORM\ManyToOne(targetEntity: Layers::class, inversedBy: 'configGeoLayers')]
private $fk_layers;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $style;
public function getId(): ?int
{
return $this->id;
}
public function getFkConfig(): ?ConfigGeoServer
{
return $this->fk_config;
}
public function setFkConfig(?ConfigGeoServer $fk_config): self
{
$this->fk_config = $fk_config;
return $this;
}
public function getFkLayers(): ?Layers
{
return $this->fk_layers;
}
public function setFkLayers(?Layers $fk_layers): self
{
$this->fk_layers = $fk_layers;
return $this;
}
public function getStyle(): ?string
{
return $this->style;
}
public function setStyle(?string $style): self
{
$this->style = $style;
return $this;
}
}