src/Entity/DemandeLite.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DemandeLiteRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=DemandeLiteRepository::class)
  7.  */
  8. class DemandeLite
  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 $client;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $typeClient;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $objet;
  28.     /**
  29.      * @ORM\Column(type="text", nullable=true)
  30.      */
  31.     private $notes;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity=Formation::class, inversedBy="demandeLites")
  34.      */
  35.     private $formation;
  36.     /**
  37.      * @ORM\ManyToOne(targetEntity=Session::class, inversedBy="demandeLites")
  38.      */
  39.     private $session;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $typeDemande;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=StatusInscrit::class, inversedBy="demandeLites")
  46.      */
  47.     private $status;
  48.     /**
  49.      * @ORM\Column(type="datetime_immutable", nullable=true)
  50.      */
  51.     private $createdAt;
  52.     /**
  53.      * @ORM\Column(type="datetime_immutable", nullable=true)
  54.      */
  55.     private $updatedAt;
  56.     /**
  57.      * @ORM\ManyToOne(targetEntity=Tier::class, inversedBy="demandeLites")
  58.      */
  59.     private $tier;
  60.     /**
  61.      * @ORM\ManyToOne(targetEntity=Organisme::class, inversedBy="demandeLites")
  62.      */
  63.     private $organisme;
  64.     /**
  65.      * @ORM\ManyToOne(targetEntity=Entreprise::class, inversedBy="demandeLites")
  66.      */
  67.     private $entreprise;
  68.     public function getId(): ?int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function getClient(): ?string
  73.     {
  74.         return $this->client;
  75.     }
  76.     public function setClient(?string $client): self
  77.     {
  78.         $this->client $client;
  79.         return $this;
  80.     }
  81.     public function getTypeClient(): ?string
  82.     {
  83.         return $this->typeClient;
  84.     }
  85.     public function setTypeClient(?string $typeClient): self
  86.     {
  87.         $this->typeClient $typeClient;
  88.         return $this;
  89.     }
  90.     public function getObjet(): ?string
  91.     {
  92.         return $this->objet;
  93.     }
  94.     public function setObjet(?string $objet): self
  95.     {
  96.         $this->objet $objet;
  97.         return $this;
  98.     }
  99.     public function getNotes(): ?string
  100.     {
  101.         return $this->notes;
  102.     }
  103.     public function setNotes(?string $notes): self
  104.     {
  105.         $this->notes $notes;
  106.         return $this;
  107.     }
  108.     public function getFormation(): ?Formation
  109.     {
  110.         return $this->formation;
  111.     }
  112.     public function setFormation(?Formation $formation): self
  113.     {
  114.         $this->formation $formation;
  115.         return $this;
  116.     }
  117.     public function getSession(): ?Session
  118.     {
  119.         return $this->session;
  120.     }
  121.     public function setSession(?Session $session): self
  122.     {
  123.         $this->session $session;
  124.         return $this;
  125.     }
  126.     public function getTypeDemande(): ?string
  127.     {
  128.         return $this->typeDemande;
  129.     }
  130.     public function setTypeDemande(?string $typeDemande): self
  131.     {
  132.         $this->typeDemande $typeDemande;
  133.         return $this;
  134.     }
  135.     public function getStatus(): ?StatusInscrit
  136.     {
  137.         return $this->status;
  138.     }
  139.     public function setStatus(?StatusInscrit $status): self
  140.     {
  141.         $this->status $status;
  142.         return $this;
  143.     }
  144.     public function getCreatedAt(): ?\DateTimeImmutable
  145.     {
  146.         return $this->createdAt;
  147.     }
  148.     public function setCreatedAt(?\DateTimeImmutable $createdAt): self
  149.     {
  150.         $this->createdAt $createdAt;
  151.         return $this;
  152.     }
  153.     public function getUpdatedAt(): ?\DateTimeImmutable
  154.     {
  155.         return $this->updatedAt;
  156.     }
  157.     public function setUpdatedAt(?\DateTimeImmutable $updatedAt): self
  158.     {
  159.         $this->updatedAt $updatedAt;
  160.         return $this;
  161.     }
  162.     public function getTier(): ?Tier
  163.     {
  164.         return $this->tier;
  165.     }
  166.     public function setTier(?Tier $tier): self
  167.     {
  168.         $this->tier $tier;
  169.         return $this;
  170.     }
  171.     public function getOrganisme(): ?Organisme
  172.     {
  173.         return $this->organisme;
  174.     }
  175.     public function setOrganisme(?Organisme $organisme): self
  176.     {
  177.         $this->organisme $organisme;
  178.         return $this;
  179.     }
  180.     public function getEntreprise(): ?Entreprise
  181.     {
  182.         return $this->entreprise;
  183.     }
  184.     public function setEntreprise(?Entreprise $entreprise): self
  185.     {
  186.         $this->entreprise $entreprise;
  187.         return $this;
  188.     }
  189. }