<?php
namespace App\Entity;
use App\Repository\DispositifRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=DispositifRepository::class)
*/
class Dispositif
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $libelle;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $critere;
/**
* @ORM\Column(type="string", length=5, nullable=true)
*/
private $taux;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $limitdatedAt;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $url;
/**
* @ORM\ManyToOne(targetEntity=Financeurs::class, inversedBy="dispositifs")
* @ORM\JoinColumn(nullable=false)
*/
private $financeur;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $type;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $infos;
public function getId(): ?int
{
return $this->id;
}
public function getLibelle(): ?string
{
return $this->libelle;
}
public function setLibelle(string $libelle): self
{
$this->libelle = $libelle;
return $this;
}
public function getCritere(): ?string
{
return $this->critere;
}
public function setCritere(?string $critere): self
{
$this->critere = $critere;
return $this;
}
public function getTaux(): ?string
{
return $this->taux;
}
public function setTaux(?string $taux): self
{
$this->taux = $taux;
return $this;
}
public function getLimitdatedAt(): ?\DateTimeImmutable
{
return $this->limitdatedAt;
}
public function setLimitdatedAt(?\DateTimeImmutable $limitdatedAt): self
{
$this->limitdatedAt = $limitdatedAt;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getFinanceur(): ?Financeurs
{
return $this->financeur;
}
public function setFinanceur(?Financeurs $financeur): self
{
$this->financeur = $financeur;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): self
{
$this->type = $type;
return $this;
}
public function getInfos(): ?string
{
return $this->infos;
}
public function setInfos(?string $infos): self
{
$this->infos = $infos;
return $this;
}
}