src/Entity/Dispositif.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DispositifRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=DispositifRepository::class)
  7.  */
  8. class Dispositif
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $libelle;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private $critere;
  24.     /**
  25.      * @ORM\Column(type="string", length=5, nullable=true)
  26.      */
  27.     private $taux;
  28.     /**
  29.      * @ORM\Column(type="datetime_immutable", nullable=true)
  30.      */
  31.     private $limitdatedAt;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $url;
  36.     /**
  37.      * @ORM\ManyToOne(targetEntity=Financeurs::class, inversedBy="dispositifs")
  38.      * @ORM\JoinColumn(nullable=false)
  39.      */
  40.     private $financeur;
  41.     /**
  42.      * @ORM\Column(type="text", nullable=true)
  43.      */
  44.     private $type;
  45.     /**
  46.      * @ORM\Column(type="text", nullable=true)
  47.      */
  48.     private $infos;
  49.     public function getId(): ?int
  50.     {
  51.         return $this->id;
  52.     }
  53.     public function getLibelle(): ?string
  54.     {
  55.         return $this->libelle;
  56.     }
  57.     public function setLibelle(string $libelle): self
  58.     {
  59.         $this->libelle $libelle;
  60.         return $this;
  61.     }
  62.     public function getCritere(): ?string
  63.     {
  64.         return $this->critere;
  65.     }
  66.     public function setCritere(?string $critere): self
  67.     {
  68.         $this->critere $critere;
  69.         return $this;
  70.     }
  71.     public function getTaux(): ?string
  72.     {
  73.         return $this->taux;
  74.     }
  75.     public function setTaux(?string $taux): self
  76.     {
  77.         $this->taux $taux;
  78.         return $this;
  79.     }
  80.     public function getLimitdatedAt(): ?\DateTimeImmutable
  81.     {
  82.         return $this->limitdatedAt;
  83.     }
  84.     public function setLimitdatedAt(?\DateTimeImmutable $limitdatedAt): self
  85.     {
  86.         $this->limitdatedAt $limitdatedAt;
  87.         return $this;
  88.     }
  89.     public function getUrl(): ?string
  90.     {
  91.         return $this->url;
  92.     }
  93.     public function setUrl(?string $url): self
  94.     {
  95.         $this->url $url;
  96.         return $this;
  97.     }
  98.     public function getFinanceur(): ?Financeurs
  99.     {
  100.         return $this->financeur;
  101.     }
  102.     public function setFinanceur(?Financeurs $financeur): self
  103.     {
  104.         $this->financeur $financeur;
  105.         return $this;
  106.     }
  107.     public function getType(): ?string
  108.     {
  109.         return $this->type;
  110.     }
  111.     public function setType(?string $type): self
  112.     {
  113.         $this->type $type;
  114.         return $this;
  115.     }
  116.     public function getInfos(): ?string
  117.     {
  118.         return $this->infos;
  119.     }
  120.     public function setInfos(?string $infos): self
  121.     {
  122.         $this->infos $infos;
  123.         return $this;
  124.     }
  125. }