src/Entity/Codinsee.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Codinsee
  6.  *
  7.  * @ORM\Table(name="ogresto.codinsee")
  8.  * @ORM\Entity
  9.  * @ORM\Entity(repositoryClass= "App\Repository\CodinseeRepository")
  10.  */
  11. class Codinsee
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  19.      * @ORM\SequenceGenerator(sequenceName="codinsee_id_seq", allocationSize=1, initialValue=1)
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var string|null
  24.      *
  25.      * @ORM\Column(name="dep", type="string", nullable=true)
  26.      */
  27.     private $dep;
  28.     /**
  29.      * @var string|null
  30.      *
  31.      * @ORM\Column(name="codinsee", type="string", nullable=true)
  32.      */
  33.     private $codinsee;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getDep(): ?string
  39.     {
  40.         return $this->dep;
  41.     }
  42.     public function setDep(?string $dep): self
  43.     {
  44.         $this->dep $dep;
  45.         return $this;
  46.     }
  47.     public function getCodinsee(): ?string
  48.     {
  49.         return $this->codinsee;
  50.     }
  51.     public function setCodinsee(?string $codinsee): self
  52.     {
  53.         $this->codinsee $codinsee;
  54.         return $this;
  55.     }
  56. }