src/Entity/Codens.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Ogresto.codens
  6.  *
  7.  * @ORM\Table(name="ogresto.codens")
  8.  * @ORM\Entity(repositoryClass= "App\Repository\CodensRepository")
  9.  */
  10. class Codens
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  18.      * @ORM\SequenceGenerator(sequenceName="ogresto.codens_id_seq", allocationSize=1, initialValue=1)
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string|null
  23.      *
  24.      * @ORM\Column(name="dep", type="string", length=10, nullable=true)
  25.      */
  26.     private $dep;
  27.     /**
  28.      * @var int|null
  29.      *
  30.      * @ORM\Column(name="codens_valeur_max", type="integer", nullable=true)
  31.      */
  32.     private $codensValeurMax;
  33.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getDepartement(): ?string
  38.     {
  39.         return $this->dep;
  40.     }
  41.     public function setDepartement(?string $dep): self
  42.     {
  43.         $this->dep $dep;
  44.         return $this;
  45.     }
  46.     public function getCodensValeurMax(): ?int
  47.     {
  48.         return $this->codensValeurMax;
  49.     }
  50.     public function setCodensValueMax(?int $codensValeurMax): self
  51.     {
  52.         $this->codensValeurMax $codensValeurMax;
  53.         return $this;
  54.     }
  55.     public function getDep(): ?string
  56.     {
  57.         return $this->dep;
  58.     }
  59.     public function setDep(?string $dep): self
  60.     {
  61.         $this->dep $dep;
  62.         return $this;
  63.     }
  64.     public function setCodensValeurMax(?int $codensValeurMax): self
  65.     {
  66.         $this->codensValeurMax $codensValeurMax;
  67.         return $this;
  68.     }
  69.     
  70. }