<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Codinsee
*
* @ORM\Table(name="ogresto.codinsee")
* @ORM\Entity
* @ORM\Entity(repositoryClass= "App\Repository\CodinseeRepository")
*/
class Codinsee
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="codinsee_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="dep", type="string", nullable=true)
*/
private $dep;
/**
* @var string|null
*
* @ORM\Column(name="codinsee", type="string", nullable=true)
*/
private $codinsee;
public function getId(): ?int
{
return $this->id;
}
public function getDep(): ?string
{
return $this->dep;
}
public function setDep(?string $dep): self
{
$this->dep = $dep;
return $this;
}
public function getCodinsee(): ?string
{
return $this->codinsee;
}
public function setCodinsee(?string $codinsee): self
{
$this->codinsee = $codinsee;
return $this;
}
}