<?php
namespace App\Entity;
use App\Repository\DemandeLiteRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=DemandeLiteRepository::class)
*/
class DemandeLite
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $client;
/**
* @ORM\Column(type="string", length=255)
*/
private $typeClient;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $objet;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $notes;
/**
* @ORM\ManyToOne(targetEntity=Formation::class, inversedBy="demandeLites")
*/
private $formation;
/**
* @ORM\ManyToOne(targetEntity=Session::class, inversedBy="demandeLites")
*/
private $session;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $typeDemande;
/**
* @ORM\ManyToOne(targetEntity=StatusInscrit::class, inversedBy="demandeLites")
*/
private $status;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $createdAt;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $updatedAt;
/**
* @ORM\ManyToOne(targetEntity=Tier::class, inversedBy="demandeLites")
*/
private $tier;
/**
* @ORM\ManyToOne(targetEntity=Organisme::class, inversedBy="demandeLites")
*/
private $organisme;
/**
* @ORM\ManyToOne(targetEntity=Entreprise::class, inversedBy="demandeLites")
*/
private $entreprise;
public function getId(): ?int
{
return $this->id;
}
public function getClient(): ?string
{
return $this->client;
}
public function setClient(?string $client): self
{
$this->client = $client;
return $this;
}
public function getTypeClient(): ?string
{
return $this->typeClient;
}
public function setTypeClient(?string $typeClient): self
{
$this->typeClient = $typeClient;
return $this;
}
public function getObjet(): ?string
{
return $this->objet;
}
public function setObjet(?string $objet): self
{
$this->objet = $objet;
return $this;
}
public function getNotes(): ?string
{
return $this->notes;
}
public function setNotes(?string $notes): self
{
$this->notes = $notes;
return $this;
}
public function getFormation(): ?Formation
{
return $this->formation;
}
public function setFormation(?Formation $formation): self
{
$this->formation = $formation;
return $this;
}
public function getSession(): ?Session
{
return $this->session;
}
public function setSession(?Session $session): self
{
$this->session = $session;
return $this;
}
public function getTypeDemande(): ?string
{
return $this->typeDemande;
}
public function setTypeDemande(?string $typeDemande): self
{
$this->typeDemande = $typeDemande;
return $this;
}
public function getStatus(): ?StatusInscrit
{
return $this->status;
}
public function setStatus(?StatusInscrit $status): self
{
$this->status = $status;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getUpdatedAt(): ?\DateTimeImmutable
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeImmutable $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getTier(): ?Tier
{
return $this->tier;
}
public function setTier(?Tier $tier): self
{
$this->tier = $tier;
return $this;
}
public function getOrganisme(): ?Organisme
{
return $this->organisme;
}
public function setOrganisme(?Organisme $organisme): self
{
$this->organisme = $organisme;
return $this;
}
public function getEntreprise(): ?Entreprise
{
return $this->entreprise;
}
public function setEntreprise(?Entreprise $entreprise): self
{
$this->entreprise = $entreprise;
return $this;
}
}